summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-06-18 22:21:42 -0500
committerAustin Seipp <aseipp@pobox.com>2013-06-18 22:28:39 -0500
commit991f285e681e8541632502d05d8a46de2d44b7bd (patch)
tree2d5039357b409b7ce1ad1067a6640314f6ce47b9 /rts
parentd8ee2b06f3a47ed08239e4f52cec8aa8e49b6ef6 (diff)
downloadhaskell-991f285e681e8541632502d05d8a46de2d44b7bd.tar.gz
Fix rts/packages.conf.in ld-options for clang.
Technically, '-u' is an ld option, not a compiler option, and clang considers this argument unused. Hence, we must explicitly forward this to the linker. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'rts')
-rw-r--r--rts/package.conf.in156
1 files changed, 78 insertions, 78 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 922ffeacbb..eff2d51234 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -68,85 +68,85 @@ cc-options:
ld-options:
#ifdef LEADING_UNDERSCORE
- "-u", "_ghczmprim_GHCziTypes_Izh_static_info"
- , "-u", "_ghczmprim_GHCziTypes_Czh_static_info"
- , "-u", "_ghczmprim_GHCziTypes_Fzh_static_info"
- , "-u", "_ghczmprim_GHCziTypes_Dzh_static_info"
- , "-u", "_base_GHCziPtr_Ptr_static_info"
- , "-u", "_ghczmprim_GHCziTypes_Wzh_static_info"
- , "-u", "_base_GHCziInt_I8zh_static_info"
- , "-u", "_base_GHCziInt_I16zh_static_info"
- , "-u", "_base_GHCziInt_I32zh_static_info"
- , "-u", "_base_GHCziInt_I64zh_static_info"
- , "-u", "_base_GHCziWord_W8zh_static_info"
- , "-u", "_base_GHCziWord_W16zh_static_info"
- , "-u", "_base_GHCziWord_W32zh_static_info"
- , "-u", "_base_GHCziWord_W64zh_static_info"
- , "-u", "_base_GHCziStable_StablePtr_static_info"
- , "-u", "_ghczmprim_GHCziTypes_Izh_con_info"
- , "-u", "_ghczmprim_GHCziTypes_Czh_con_info"
- , "-u", "_ghczmprim_GHCziTypes_Fzh_con_info"
- , "-u", "_ghczmprim_GHCziTypes_Dzh_con_info"
- , "-u", "_base_GHCziPtr_Ptr_con_info"
- , "-u", "_base_GHCziPtr_FunPtr_con_info"
- , "-u", "_base_GHCziStable_StablePtr_con_info"
- , "-u", "_ghczmprim_GHCziTypes_False_closure"
- , "-u", "_ghczmprim_GHCziTypes_True_closure"
- , "-u", "_base_GHCziPack_unpackCString_closure"
- , "-u", "_base_GHCziIOziException_stackOverflow_closure"
- , "-u", "_base_GHCziIOziException_heapOverflow_closure"
- , "-u", "_base_ControlziExceptionziBase_nonTermination_closure"
- , "-u", "_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
- , "-u", "_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
- , "-u", "_base_ControlziExceptionziBase_nestedAtomically_closure"
- , "-u", "_base_GHCziWeak_runFinalizzerBatch_closure"
- , "-u", "_base_GHCziTopHandler_flushStdHandles_closure"
- , "-u", "_base_GHCziTopHandler_runIO_closure"
- , "-u", "_base_GHCziTopHandler_runNonIO_closure"
- , "-u", "_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
- , "-u", "_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
- , "-u", "_base_GHCziConcziSync_runSparks_closure"
- , "-u", "_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
- "-u", "ghczmprim_GHCziTypes_Izh_static_info"
- , "-u", "ghczmprim_GHCziTypes_Czh_static_info"
- , "-u", "ghczmprim_GHCziTypes_Fzh_static_info"
- , "-u", "ghczmprim_GHCziTypes_Dzh_static_info"
- , "-u", "base_GHCziPtr_Ptr_static_info"
- , "-u", "ghczmprim_GHCziTypes_Wzh_static_info"
- , "-u", "base_GHCziInt_I8zh_static_info"
- , "-u", "base_GHCziInt_I16zh_static_info"
- , "-u", "base_GHCziInt_I32zh_static_info"
- , "-u", "base_GHCziInt_I64zh_static_info"
- , "-u", "base_GHCziWord_W8zh_static_info"
- , "-u", "base_GHCziWord_W16zh_static_info"
- , "-u", "base_GHCziWord_W32zh_static_info"
- , "-u", "base_GHCziWord_W64zh_static_info"
- , "-u", "base_GHCziStable_StablePtr_static_info"
- , "-u", "ghczmprim_GHCziTypes_Izh_con_info"
- , "-u", "ghczmprim_GHCziTypes_Czh_con_info"
- , "-u", "ghczmprim_GHCziTypes_Fzh_con_info"
- , "-u", "ghczmprim_GHCziTypes_Dzh_con_info"
- , "-u", "base_GHCziPtr_Ptr_con_info"
- , "-u", "base_GHCziPtr_FunPtr_con_info"
- , "-u", "base_GHCziStable_StablePtr_con_info"
- , "-u", "ghczmprim_GHCziTypes_False_closure"
- , "-u", "ghczmprim_GHCziTypes_True_closure"
- , "-u", "base_GHCziPack_unpackCString_closure"
- , "-u", "base_GHCziIOziException_stackOverflow_closure"
- , "-u", "base_GHCziIOziException_heapOverflow_closure"
- , "-u", "base_ControlziExceptionziBase_nonTermination_closure"
- , "-u", "base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
- , "-u", "base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
- , "-u", "base_ControlziExceptionziBase_nestedAtomically_closure"
- , "-u", "base_GHCziWeak_runFinalizzerBatch_closure"
- , "-u", "base_GHCziTopHandler_flushStdHandles_closure"
- , "-u", "base_GHCziTopHandler_runIO_closure"
- , "-u", "base_GHCziTopHandler_runNonIO_closure"
- , "-u", "base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
- , "-u", "base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
- , "-u", "base_GHCziConcziSync_runSparks_closure"
- , "-u", "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