Permalink
Browse files

dev-lang/ghc: fix unreg-hsinstances: apply -O0, not profiling option

Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information...
trofi committed Jun 23, 2018
1 parent a7d04fd commit 4addbf957ed86971b06bbc82c1c969362835369e
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev-lang/ghc/files/ghc-9999-unreg-hsinstances.patch
@@ -9,7 +9,7 @@ index 9bc6b3f278..a5c623f26b 100644
+# HsInstances overflows GOT at least on alpha
+ifeq "$(GhcUnregisterised)" "NO"
+else
-+compiler/hsSyn/HsInstances_HC_OPTS += -fprof-auto
++compiler/hsSyn/HsInstances_HC_OPTS += -O0
+endif
+
ifeq "$(GhcProfiled)" "YES"

0 comments on commit 4addbf9

Please sign in to comment.