driver: pass '-fPIC' option to assembler as well
driver: pass '-fPIC' option to assembler as well

Summary:
Before the patch '-fPIC' was passed only to C compiler,
but not to assembler itself.

It led to runtime crash in GHC_DYNAMIC_PROGRAMS=YES mode
on sparc32.

Technical details are in 'Note [-fPIC for assembler]'.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Test Plan: validate on sparc

Reviewers: simonmar, austin, kgardas

Reviewed By: austin

Subscribers: simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D177

mfine/ghc,mcschroeder/ghc,siddhanathan/ghc,AlexanderPankiv/ghc,green-haskell/ghc,fmthoma/ghc,spacekitteh/smcghc,oldmanmike/ghc,spacekitteh/smcghc,gridaphobe/ghc,ml9951/ghc,vTurbine/ghc,oldmanmike/ghc,tjakway/ghcjvm,vikraman/ghc,gridaphobe/ghc,ml9951/ghc,ghc-android/ghc,snoyberg/ghc,ml9951/ghc,spacekitteh/smcghc,gcampax/ghc,sgillespie/ghc,gcampax/ghc,urbanslug/ghc,acowley/ghc,ezyang/ghc,anton-dessiatov/ghc,mcschroeder/ghc,elieux/ghc,mettekou/ghc,christiaanb/ghc,ezyang/ghc,sdiehl/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,sgillespie/ghc,vikraman/ghc,elieux/ghc,sdiehl/ghc,snoyberg/ghc,gridaphobe/ghc,mfine/ghc,sdiehl/ghc,urbanslug/ghc,nushio3/ghc,oldmanmike/ghc,urbanslug/ghc,AlexanderPankiv/ghc,nkaretnikov/ghc,oldmanmike/ghc,olsner/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,vTurbine/ghc,da-x/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,fmthoma/ghc,tjakway/ghcjvm,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,christiaanb/ghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,mcschroeder/ghc,jstolarek/ghc,oldmanmike/ghc,green-haskell/ghc,nathyong/microghc-ghc,urbanslug/ghc,TomMD/ghc,olsner/ghc,acowley/ghc,siddhanathan/ghc,jstolarek/ghc,elieux/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,olsner/ghc,vTurbine/ghc,TomMD/ghc,da-x/ghc,spacekitteh/smcghc,mettekou/ghc,fmthoma/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,ml9951/ghc,urbanslug/ghc,gridaphobe/ghc,green-haskell/ghc,urbanslug/ghc,wxwxwwxxx/ghc,mcschroeder/ghc,mettekou/ghc,nkaretnikov/ghc,oldmanmike/ghc,nkaretnikov/ghc,AlexanderPankiv/ghc,ezyang/ghc,AlexanderPankiv/ghc,jstolarek/ghc,sgillespie/ghc,fmthoma/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,TomMD/ghc,gcampax/ghc,bitemyapp/ghc,shlevy/ghc,shlevy/ghc,shlevy/ghc,olsner/ghc,shlevy/ghc,mfine/ghc,anton-dessiatov/ghc,oldmanmike/ghc,nushio3/ghc,nushio3/ghc,ezyang/ghc,shlevy/ghc,ghc-android/ghc,urbanslug/ghc,mcschroeder/ghc,mfine/ghc,vTurbine/ghc,christiaanb/ghc,nushio3/ghc,gridaphobe/ghc,ml9951/ghc,nathyong/microghc-ghc,elieux/ghc,siddhanathan/ghc,olsner/ghc,spacekitteh/smcghc,GaloisInc/halvm-ghc,nkaretnikov/ghc,vTurbine/ghc,nushio3/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,ghc-android/ghc,jstolarek/ghc,mettekou/ghc,nushio3/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,fmthoma/ghc,olsner/ghc,ezyang/ghc,snoyberg/ghc,mcschroeder/ghc,nathyong/microghc-ghc,bitemyapp/ghc,green-haskell/ghc,mfine/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,nushio3/ghc,TomMD/ghc,ml9951/ghc,elieux/ghc,sdiehl/ghc,ghc-android/ghc,acowley/ghc,da-x/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,mettekou/ghc,mfine/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,anton-dessiatov/ghc,acowley/ghc,elieux/ghc,sdiehl/ghc,da-x/ghc,fmthoma/ghc,acowley/ghc,green-haskell/ghc,mettekou/ghc,gcampax/ghc,sdiehl/ghc,TomMD/ghc,gridaphobe/ghc,sdiehl/ghc,bitemyapp/ghc,ml9951/ghc,AlexanderPankiv/ghc,bitemyapp/ghc,mettekou/ghc,acowley/ghc,anton-dessiatov/ghc,ezyang/ghc,fmthoma/ghc,sgillespie/ghc,da-x/ghc,ghc-android/ghc,ezyang/ghc,vTurbine/ghc,christiaanb/ghc,christiaanb/ghc,nathyong/microghc-ghc,christiaanb/ghc,AlexanderPankiv/ghc,olsner/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,bitemyapp/ghc,ghc-android/ghc,gridaphobe/ghc,tjakway/ghcjvm,vikraman/ghc,acowley/ghc,vikraman/ghc,nkaretnikov/ghc,da-x/ghc,shlevy/ghc,siddhanathan/ghc,shlevy/ghc,snoyberg/ghc,wxwxwwxxx/ghc,vikraman/ghc,vikraman/ghc,mfine/ghc,siddhanathan/ghc,nathyong/microghc-ghc,gcampax/ghc,snoyberg/ghc,elieux/ghc,TomMD/ghc,gcampax/ghc,jstolarek/ghc,gcampax/ghc,tjakway/ghcjvm,christiaanb/ghc,GaloisInc/halvm-ghc,forked-upstream-packages-for-ghcjs/ghc