summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-06-14 17:18:29 -0400
committerBen Gamari <ben@smart-cactus.org>2018-06-14 17:18:55 -0400
commit8ffac593d5d3b51c3b720a3a9cc55bf257446808 (patch)
treeb2685527a61f6e10cbde13c2b33bea53e1c0b65c
parent0c5aac8a2917458d6d5fd946d690d83fcfb9866f (diff)
downloadhaskell-8ffac593d5d3b51c3b720a3a9cc55bf257446808.tar.gz
Revert "rts: Don't keep findPtr symbol alive if not -DDEBUG"
This reverts commit e4c41ec2b1f2f222c9c8a83ef64d4e566aa47a44. rts.cabal.in isn't processed by CPP.
-rw-r--r--rts/rts.cabal.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in
index ffa6282139..d41135ddd3 100644
--- a/rts/rts.cabal.in
+++ b/rts/rts.cabal.in
@@ -251,11 +251,9 @@ library
"-Wl,-u,_hs_atomicwrite8"
"-Wl,-u,_hs_atomicwrite16"
"-Wl,-u,_hs_atomicwrite32"
-#if defined(DEBUG)
-- This symbol is useful in gdb, but not referred to anywhere,
-- so we need to force it to be included in the binary.
"-Wl,-u,_findPtr"
-#endif
else
ld-options:
"-Wl,-u,base_GHCziTopHandler_runIO_closure"
@@ -326,11 +324,9 @@ library
"-Wl,-u,hs_atomicwrite8"
"-Wl,-u,hs_atomicwrite16"
"-Wl,-u,hs_atomicwrite32"
-#if defined(DEBUG)
-- This symbol is useful in gdb, but not referred to anywhere,
-- so we need to force it to be included in the binary.
"-Wl,-u,findPtr"
-#endif
if os(osx)
ld-options: "-Wl,-search_paths_first"