driver: use interpreterDynamic predicate in preloadLib
This commit use the interpreterDynamic predicate in preloadLib to decide if we should do dynLoadObjs instead of loadObj. Previously we used hostIsDynamic which was only written with non-cross internal interpreter in mind. The testsuite is also adjusted to remove hard-wired -fPIC flag for cbits (doesn't work in i386 RTS linker in vanilla way, #25260) and properly pass ghc_th_way_flags to ghc.
Showing
- compiler/GHC/Linker/Loader.hs 2 additions, 2 deletionscompiler/GHC/Linker/Loader.hs
- testsuite/tests/quasiquotation/Makefile 3 additions, 3 deletionstestsuite/tests/quasiquotation/Makefile
- testsuite/tests/quasiquotation/all.T 1 addition, 1 deletiontestsuite/tests/quasiquotation/all.T
- testsuite/tests/th/all.T 1 addition, 1 deletiontestsuite/tests/th/all.T
Loading
-
mentioned in commit 61324f4a
-
mentioned in commit 4d6889d5
-
mentioned in commit 6ed35684
-
mentioned in commit cc10420a
-
mentioned in commit 25acfc58
-
mentioned in commit 19ec87cc
-
mentioned in commit 8386ceda
-
mentioned in commit e2d6a32b
-
mentioned in commit 89cfe998
-
mentioned in commit b993a77b
-
mentioned in commit 9aeaf0d5
Please register or sign in to comment