[commit: ghc] master: add arm-unknown-linux to platforms which do not support shared libs (8e51a7a)

Ian Lynagh igloo at earth.li
Fri May 31 01:29:41 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/8e51a7ab47ed37fbafbc497a5926227e8dd6a1be

>---------------------------------------------------------------

commit 8e51a7ab47ed37fbafbc497a5926227e8dd6a1be
Author: Karel Gardas <karel.gardas at centrum.cz>
Date:   Thu Apr 4 18:28:28 2013 +0200

    add arm-unknown-linux to platforms which do not support shared libs
    
    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 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 0429796..f70718c 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





More information about the ghc-commits mailing list