Revert "Actually fix rts/packages.conf.in ld-options."
authorAustin Seipp <aseipp@pobox.com>
Wed, 19 Jun 2013 06:25:49 +0000 (01:25 -0500)
committerAustin Seipp <aseipp@pobox.com>
Wed, 19 Jun 2013 06:26:28 +0000 (01:26 -0500)
This reverts commit 5dc74f385f1bbc9248ed950af255b946677c2ff9.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
rts/package.conf.in

index 28b4390..d019720 100644 (file)
@@ -68,85 +68,85 @@ cc-options:
 
 ld-options:
 #ifdef LEADING_UNDERSCORE
-           "-Wl,--undefined=_ghczmprim_GHCziTypes_Izh_static_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Czh_static_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Fzh_static_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Dzh_static_info"
-         , "-Wl,--undefined=_base_GHCziPtr_Ptr_static_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Wzh_static_info"
-         , "-Wl,--undefined=_base_GHCziInt_I8zh_static_info"
-         , "-Wl,--undefined=_base_GHCziInt_I16zh_static_info"
-         , "-Wl,--undefined=_base_GHCziInt_I32zh_static_info"
-         , "-Wl,--undefined=_base_GHCziInt_I64zh_static_info"
-         , "-Wl,--undefined=_base_GHCziWord_W8zh_static_info"
-         , "-Wl,--undefined=_base_GHCziWord_W16zh_static_info"
-         , "-Wl,--undefined=_base_GHCziWord_W32zh_static_info"
-         , "-Wl,--undefined=_base_GHCziWord_W64zh_static_info"
-         , "-Wl,--undefined=_base_GHCziStable_StablePtr_static_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Izh_con_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Czh_con_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Fzh_con_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_Dzh_con_info"
-         , "-Wl,--undefined=_base_GHCziPtr_Ptr_con_info"
-         , "-Wl,--undefined=_base_GHCziPtr_FunPtr_con_info"
-         , "-Wl,--undefined=_base_GHCziStable_StablePtr_con_info"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_False_closure"
-         , "-Wl,--undefined=_ghczmprim_GHCziTypes_True_closure"
-         , "-Wl,--undefined=_base_GHCziPack_unpackCString_closure"
-         , "-Wl,--undefined=_base_GHCziIOziException_stackOverflow_closure"
-         , "-Wl,--undefined=_base_GHCziIOziException_heapOverflow_closure"
-         , "-Wl,--undefined=_base_ControlziExceptionziBase_nonTermination_closure"
-         , "-Wl,--undefined=_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
-         , "-Wl,--undefined=_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
-         , "-Wl,--undefined=_base_ControlziExceptionziBase_nestedAtomically_closure"
-         , "-Wl,--undefined=_base_GHCziWeak_runFinalizzerBatch_closure"
-         , "-Wl,--undefined=_base_GHCziTopHandler_flushStdHandles_closure"
-         , "-Wl,--undefined=_base_GHCziTopHandler_runIO_closure"
-         , "-Wl,--undefined=_base_GHCziTopHandler_runNonIO_closure"
-         , "-Wl,--undefined=_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
-         , "-Wl,--undefined=_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
-         , "-Wl,--undefined=_base_GHCziConcziSync_runSparks_closure"
-         , "-Wl,--undefined=_base_GHCziConcziSignal_runHandlers_closure"
+           "-Wl,-u", "_ghczmprim_GHCziTypes_Izh_static_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Czh_static_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Fzh_static_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Dzh_static_info"
+         , "-Wl,-u", "_base_GHCziPtr_Ptr_static_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Wzh_static_info"
+         , "-Wl,-u", "_base_GHCziInt_I8zh_static_info"
+         , "-Wl,-u", "_base_GHCziInt_I16zh_static_info"
+         , "-Wl,-u", "_base_GHCziInt_I32zh_static_info"
+         , "-Wl,-u", "_base_GHCziInt_I64zh_static_info"
+         , "-Wl,-u", "_base_GHCziWord_W8zh_static_info"
+         , "-Wl,-u", "_base_GHCziWord_W16zh_static_info"
+         , "-Wl,-u", "_base_GHCziWord_W32zh_static_info"
+         , "-Wl,-u", "_base_GHCziWord_W64zh_static_info"
+         , "-Wl,-u", "_base_GHCziStable_StablePtr_static_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Izh_con_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Czh_con_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Fzh_con_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_Dzh_con_info"
+         , "-Wl,-u", "_base_GHCziPtr_Ptr_con_info"
+         , "-Wl,-u", "_base_GHCziPtr_FunPtr_con_info"
+         , "-Wl,-u", "_base_GHCziStable_StablePtr_con_info"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_False_closure"
+         , "-Wl,-u", "_ghczmprim_GHCziTypes_True_closure"
+         , "-Wl,-u", "_base_GHCziPack_unpackCString_closure"
+         , "-Wl,-u", "_base_GHCziIOziException_stackOverflow_closure"
+         , "-Wl,-u", "_base_GHCziIOziException_heapOverflow_closure"
+         , "-Wl,-u", "_base_ControlziExceptionziBase_nonTermination_closure"
+         , "-Wl,-u", "_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
+         , "-Wl,-u", "_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
+         , "-Wl,-u", "_base_ControlziExceptionziBase_nestedAtomically_closure"
+         , "-Wl,-u", "_base_GHCziWeak_runFinalizzerBatch_closure"
+         , "-Wl,-u", "_base_GHCziTopHandler_flushStdHandles_closure"
+         , "-Wl,-u", "_base_GHCziTopHandler_runIO_closure"
+         , "-Wl,-u", "_base_GHCziTopHandler_runNonIO_closure"
+         , "-Wl,-u", "_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
+         , "-Wl,-u", "_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
+         , "-Wl,-u", "_base_GHCziConcziSync_runSparks_closure"
+         , "-Wl,-u", "_base_GHCziConcziSignal_runHandlers_closure"
 #else
-           "-Wl,--undefined=ghczmprim_GHCziTypes_Izh_static_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Czh_static_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Fzh_static_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Dzh_static_info"
-         , "-Wl,--undefined=base_GHCziPtr_Ptr_static_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Wzh_static_info"
-         , "-Wl,--undefined=base_GHCziInt_I8zh_static_info"
-         , "-Wl,--undefined=base_GHCziInt_I16zh_static_info"
-         , "-Wl,--undefined=base_GHCziInt_I32zh_static_info"
-         , "-Wl,--undefined=base_GHCziInt_I64zh_static_info"
-         , "-Wl,--undefined=base_GHCziWord_W8zh_static_info"
-         , "-Wl,--undefined=base_GHCziWord_W16zh_static_info"
-         , "-Wl,--undefined=base_GHCziWord_W32zh_static_info"
-         , "-Wl,--undefined=base_GHCziWord_W64zh_static_info"
-         , "-Wl,--undefined=base_GHCziStable_StablePtr_static_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Izh_con_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Czh_con_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Fzh_con_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_Dzh_con_info"
-         , "-Wl,--undefined=base_GHCziPtr_Ptr_con_info"
-         , "-Wl,--undefined=base_GHCziPtr_FunPtr_con_info"
-         , "-Wl,--undefined=base_GHCziStable_StablePtr_con_info"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_False_closure"
-         , "-Wl,--undefined=ghczmprim_GHCziTypes_True_closure"
-         , "-Wl,--undefined=base_GHCziPack_unpackCString_closure"
-         , "-Wl,--undefined=base_GHCziIOziException_stackOverflow_closure"
-         , "-Wl,--undefined=base_GHCziIOziException_heapOverflow_closure"
-         , "-Wl,--undefined=base_ControlziExceptionziBase_nonTermination_closure"
-         , "-Wl,--undefined=base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
-         , "-Wl,--undefined=base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
-         , "-Wl,--undefined=base_ControlziExceptionziBase_nestedAtomically_closure"
-         , "-Wl,--undefined=base_GHCziWeak_runFinalizzerBatch_closure"
-         , "-Wl,--undefined=base_GHCziTopHandler_flushStdHandles_closure"
-         , "-Wl,--undefined=base_GHCziTopHandler_runIO_closure"
-         , "-Wl,--undefined=base_GHCziTopHandler_runNonIO_closure"
-         , "-Wl,--undefined=base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
-         , "-Wl,--undefined=base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
-         , "-Wl,--undefined=base_GHCziConcziSync_runSparks_closure"
-         , "-Wl,--undefined=base_GHCziConcziSignal_runHandlers_closure"
+           "-Wl,-u", "ghczmprim_GHCziTypes_Izh_static_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Czh_static_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Fzh_static_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Dzh_static_info"
+         , "-Wl,-u", "base_GHCziPtr_Ptr_static_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Wzh_static_info"
+         , "-Wl,-u", "base_GHCziInt_I8zh_static_info"
+         , "-Wl,-u", "base_GHCziInt_I16zh_static_info"
+         , "-Wl,-u", "base_GHCziInt_I32zh_static_info"
+         , "-Wl,-u", "base_GHCziInt_I64zh_static_info"
+         , "-Wl,-u", "base_GHCziWord_W8zh_static_info"
+         , "-Wl,-u", "base_GHCziWord_W16zh_static_info"
+         , "-Wl,-u", "base_GHCziWord_W32zh_static_info"
+         , "-Wl,-u", "base_GHCziWord_W64zh_static_info"
+         , "-Wl,-u", "base_GHCziStable_StablePtr_static_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Izh_con_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Czh_con_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Fzh_con_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_Dzh_con_info"
+         , "-Wl,-u", "base_GHCziPtr_Ptr_con_info"
+         , "-Wl,-u", "base_GHCziPtr_FunPtr_con_info"
+         , "-Wl,-u", "base_GHCziStable_StablePtr_con_info"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_False_closure"
+         , "-Wl,-u", "ghczmprim_GHCziTypes_True_closure"
+         , "-Wl,-u", "base_GHCziPack_unpackCString_closure"
+         , "-Wl,-u", "base_GHCziIOziException_stackOverflow_closure"
+         , "-Wl,-u", "base_GHCziIOziException_heapOverflow_closure"
+         , "-Wl,-u", "base_ControlziExceptionziBase_nonTermination_closure"
+         , "-Wl,-u", "base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
+         , "-Wl,-u", "base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
+         , "-Wl,-u", "base_ControlziExceptionziBase_nestedAtomically_closure"
+         , "-Wl,-u", "base_GHCziWeak_runFinalizzerBatch_closure"
+         , "-Wl,-u", "base_GHCziTopHandler_flushStdHandles_closure"
+         , "-Wl,-u", "base_GHCziTopHandler_runIO_closure"
+         , "-Wl,-u", "base_GHCziTopHandler_runNonIO_closure"
+         , "-Wl,-u", "base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
+         , "-Wl,-u", "base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
+         , "-Wl,-u", "base_GHCziConcziSync_runSparks_closure"
+         , "-Wl,-u", "base_GHCziConcziSignal_runHandlers_closure"
 #endif
 
 /*  Pick up static libraries in preference over dynamic if in earlier search