Force -fPIC when linking against dynamic libraries on Mac OS/X. Otherwise you get /tmp/ghc7602_0/ghc7602_0.s:207:0:    non-relocatable subtraction expression, "___stginit_Lib_dyn" minus "L1x2;4" /tmp/ghc7602_0/ghc7602_0.s:207:0:    symbol: "___stginit_Lib_dyn" can't be undefined in a subtraction expression
Force -fPIC when linking against dynamic libraries on Mac OS/X.
Otherwise you get
/tmp/ghc7602_0/ghc7602_0.s:207:0:
   non-relocatable subtraction expression, "___stginit_Lib_dyn" minus "L1x2;4"
/tmp/ghc7602_0/ghc7602_0.s:207:0:
   symbol: "___stginit_Lib_dyn" can't be undefined in a subtraction expression

snoyberg/ghc,nomeata/ghc,anton-dessiatov/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,nkaretnikov/ghc,christiaanb/ghc,mfine/ghc,mfine/ghc,nkaretnikov/ghc,sdiehl/ghc,bitemyapp/ghc,snoyberg/ghc,shlevy/ghc,da-x/ghc,nathyong/microghc-ghc,green-haskell/ghc,gcampax/ghc,olsner/ghc,mcschroeder/ghc,ml9951/ghc,nathyong/microghc-ghc,siddhanathan/ghc,tjakway/ghcjvm,ghc-android/ghc,jstolarek/ghc,ml9951/ghc,ryantm/ghc,mfine/ghc,hferreiro/replay,mettekou/ghc,snoyberg/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,vikraman/ghc,jstolarek/ghc,nathyong/microghc-ghc,bitemyapp/ghc,da-x/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,nushio3/ghc,olsner/ghc,elieux/ghc,tjakway/ghcjvm,mcschroeder/ghc,vikraman/ghc,ml9951/ghc,siddhanathan/ghc,fmthoma/ghc,da-x/ghc,sgillespie/ghc,urbanslug/ghc,jstolarek/ghc,urbanslug/ghc,christiaanb/ghc,mettekou/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,vTurbine/ghc,nomeata/ghc,mcmaniac/ghc,sgillespie/ghc,TomMD/ghc,gcampax/ghc,acowley/ghc,vikraman/ghc,da-x/ghc,shlevy/ghc,nkaretnikov/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,acowley/ghc,mcschroeder/ghc,lukexi/ghc,ml9951/ghc,acowley/ghc,gcampax/ghc,tjakway/ghcjvm,spacekitteh/smcghc,oldmanmike/ghc,elieux/ghc,hferreiro/replay,lukexi/ghc-7.8-arm64,oldmanmike/ghc,vikraman/ghc,acowley/ghc,wxwxwwxxx/ghc,ghc-android/ghc,lukexi/ghc-7.8-arm64,nomeata/ghc,nkaretnikov/ghc,fmthoma/ghc,gridaphobe/ghc,mcschroeder/ghc,urbanslug/ghc,wxwxwwxxx/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,gcampax/ghc,vTurbine/ghc,elieux/ghc,AlexanderPankiv/ghc,ezyang/ghc,gcampax/ghc,shlevy/ghc,oldmanmike/ghc,green-haskell/ghc,nushio3/ghc,ekmett/ghc,wxwxwwxxx/ghc,frantisekfarka/ghc-dsi,elieux/ghc,oldmanmike/ghc,mettekou/ghc,spacekitteh/smcghc,nomeata/ghc,siddhanathan/ghc,siddhanathan/ghc,AlexanderPankiv/ghc,mettekou/ghc,shlevy/ghc,sdiehl/ghc,sgillespie/ghc,fmthoma/ghc,sgillespie/ghc,jstolarek/ghc,ghc-android/ghc,ekmett/ghc,wxwxwwxxx/ghc,bitemyapp/ghc,gridaphobe/ghc,oldmanmike/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,mettekou/ghc,christiaanb/ghc,sgillespie/ghc,AlexanderPankiv/ghc,acowley/ghc,ghc-android/ghc,hferreiro/replay,da-x/ghc,gcampax/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,elieux/ghc,TomMD/ghc,lukexi/ghc,ezyang/ghc,sdiehl/ghc,mcmaniac/ghc,anton-dessiatov/ghc,ryantm/ghc,lukexi/ghc-7.8-arm64,mcmaniac/ghc,nkaretnikov/ghc,hferreiro/replay,acowley/ghc,sgillespie/ghc,ezyang/ghc,acowley/ghc,sgillespie/ghc,hferreiro/replay,holzensp/ghc,ezyang/ghc,christiaanb/ghc,sdiehl/ghc,nkaretnikov/ghc,gridaphobe/ghc,ezyang/ghc,fmthoma/ghc,gridaphobe/ghc,sdiehl/ghc,shlevy/ghc,nkaretnikov/ghc,siddhanathan/ghc,vikraman/ghc,nathyong/microghc-ghc,ilyasergey/GHC-XAppFix,vTurbine/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,tibbe/ghc,holzensp/ghc,mfine/ghc,ml9951/ghc,siddhanathan/ghc,spacekitteh/smcghc,nushio3/ghc,tibbe/ghc,da-x/ghc,lukexi/ghc,anton-dessiatov/ghc,tjakway/ghcjvm,shlevy/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,mettekou/ghc,GaloisInc/halvm-ghc,holzensp/ghc,oldmanmike/ghc,tibbe/ghc,green-haskell/ghc,shlevy/ghc,christiaanb/ghc,gridaphobe/ghc,snoyberg/ghc,wxwxwwxxx/ghc,ml9951/ghc,spacekitteh/smcghc,sdiehl/ghc,da-x/ghc,olsner/ghc,vTurbine/ghc,gridaphobe/ghc,vTurbine/ghc,vikraman/ghc,frantisekfarka/ghc-dsi,lukexi/ghc,ghc-android/ghc,olsner/ghc,nushio3/ghc,mfine/ghc,nomeata/ghc,ezyang/ghc,vTurbine/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,urbanslug/ghc,urbanslug/ghc,fmthoma/ghc,TomMD/ghc,mcmaniac/ghc,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,TomMD/ghc,holzensp/ghc,ilyasergey/GHC-XAppFix,mfine/ghc,anton-dessiatov/ghc,christiaanb/ghc,elieux/ghc,frantisekfarka/ghc-dsi,holzensp/ghc,lukexi/ghc-7.8-arm64,tjakway/ghcjvm,ghc-android/ghc,tibbe/ghc,mfine/ghc,fmthoma/ghc,urbanslug/ghc,bitemyapp/ghc,nushio3/ghc,olsner/ghc,urbanslug/ghc,nushio3/ghc,gridaphobe/ghc,ekmett/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,anton-dessiatov/ghc,ilyasergey/GHC-XAppFix,wxwxwwxxx/ghc,nathyong/microghc-ghc,elieux/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,mcschroeder/ghc,olsner/ghc,ekmett/ghc,snoyberg/ghc,ryantm/ghc,ml9951/ghc,olsner/ghc,fmthoma/ghc,hferreiro/replay,lukexi/ghc-7.8-arm64,green-haskell/ghc,ml9951/ghc,siddhanathan/ghc,mcschroeder/ghc,oldmanmike/ghc,snoyberg/ghc,vTurbine/ghc,green-haskell/ghc,mcmaniac/ghc,nushio3/ghc,TomMD/ghc,ekmett/ghc,TomMD/ghc,hferreiro/replay,tibbe/ghc,gcampax/ghc,vikraman/ghc,mettekou/ghc,snoyberg/ghc,ilyasergey/GHC-XAppFix,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,lukexi/ghc