[PATCH 2/2] add arm-unknown-linux to platforms which do not support shared libs

Karel Gardas karel.gardas at centrum.cz
Thu Apr 4 18:30:16 CEST 2013


This patch disables shared libs support on arm-unknown-linux platform. It
unbreaks ghc-stage2 on this platform after recent Ian's changes
in dynamic/shared libs domain. The reason why ghc-stage2 fails when linked
with shared libs is still unknown so this is just a workaround at the moment,
but it at least recovers previous "correct" behavior of ghc-stage2
on ARM/Linux
---
 mk/config.mk.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index de55f0d..2a03ecf 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -95,7 +95,7 @@ TargetElf = YES
 endif
 
 # Some platforms don't support shared libraries
-NoSharedLibsPlatformList =
+NoSharedLibsPlatformList = arm-unknown-linux
 
 ifeq "$(SOLARIS_BROKEN_SHLD)" "YES"
 NoSharedLibsPlatformList += i386-unknown-solaris2
-- 
1.7.3.2




More information about the ghc-devs mailing list