File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 322
322
# `-fexternal-dynamic-refs` causes `undefined reference` errors when building GHC cross compiler for windows
323
323
+ lib . optionalString ( enableRelocatedStaticLibs && targetPlatform . isx86_64 && ! targetPlatform . isWindows )
324
324
" '*.*.ghc.*.opts += -fexternal-dynamic-refs'"
325
+ + lib . optionalString targetPlatform . isAndroid
326
+ " '*.ghc.cabal.configure.opts += --flags=-dynamic-system-linker'"
325
327
# The following is required if we build on aarch64-darwin for aarch64-iOS. Otherwise older
326
328
# iPhones/iPads/... won't understand the compiled code, as the compiler will emit LDSETALH
327
329
# + lib.optionalString (targetPlatform.???) "'*.rts.ghc.c.opts += -optc-mcpu=apple-a7 -optc-march=armv8-a+norcpc'"
You can’t perform that action at this time.
0 commit comments