summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-12-15 09:02:50 +0000
committerSergei Trofimovich <siarheit@google.com>2016-12-15 09:02:50 +0000
commit52c5e55348170f27f5ef1cb010c4c96ab4aa47cc (patch)
tree3064984b427ba4cc70a7dc3b1c7b718fc9fe3f7e /mk
parent26ce99cc47446eba704c867fbd2d88f31c325805 (diff)
downloadhaskell-52c5e55348170f27f5ef1cb010c4c96ab4aa47cc.tar.gz
mk/config.mk.in: enable SMP on ARMv7+ (Trac #12981)
Before the change result of expression ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)" to evaluate to ArchSupportsSMP="YES" After the change it's ArchSupportsSMP=YES Thanks to orion for the fix! Fixes Trac #12981 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 35c492f333..06c12bfb44 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -187,7 +187,7 @@ HaveLibDL = @HaveLibDL@
# includes/stg/SMP.h
ifeq "$(TargetArch_CPP)" "arm"
# We don't support load/store barriers pre-ARMv7. See #10433.
-ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)"
+ArchSupportsSMP=$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)
else
ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc powerpc64 powerpc64le aarch64)))
endif