diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-01-08 12:43:54 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-01-08 17:38:38 -0500 |
commit | 9cfc1a52a329ab4abfa594572f8a3964ee58eeec (patch) | |
tree | 6567698d9c50bc8e0b0c966bf5d7b2fcbf39c467 | |
parent | e01fee05dda385411c950886f5c6fc91a04cd996 (diff) | |
download | haskell-wip/pic-aarch64.tar.gz |
Try enabling DYNAMIC_BY_DEFAULT on aarch64 and armwip/pic-aarch64
To see whether this helps the ext-interp testsuite failures.
-rw-r--r-- | mk/config.mk.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 41cd71ca1f..57f0325b64 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -144,6 +144,13 @@ endif # cabal-install's that are in the wild don't handle it properly. DYNAMIC_BY_DEFAULT = NO +# Try enabling on ARM to work around persistent linking issues. +ifeq "$(TargetArch_CPP)" "aarch64" +DYNAMIC_BY_DEFAULT = YES +else ifeq "$(TargetArch_CPP)" "arm" +DYNAMIC_BY_DEFAULT = YES +endif + # If building both v and dyn ways, then use -dynamic-too to build them. # This makes the build faster. DYNAMIC_TOO = YES |