From 9cfc1a52a329ab4abfa594572f8a3964ee58eeec Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 8 Jan 2020 12:43:54 -0500 Subject: Try enabling DYNAMIC_BY_DEFAULT on aarch64 and arm To see whether this helps the ext-interp testsuite failures. --- mk/config.mk.in | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.1