summaryrefslogtreecommitdiff
path: root/testsuite/mk/boilerplate.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mk/boilerplate.mk')
-rw-r--r--testsuite/mk/boilerplate.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk
index 4eeb1aa251..d8c7c9e75e 100644
--- a/testsuite/mk/boilerplate.mk
+++ b/testsuite/mk/boilerplate.mk
@@ -138,6 +138,11 @@ endif
$(eval $(call get-ghc-field,GhcRTSWays,RTS ways))
+$(eval $(call get-ghc-field,AR,ar command))
+ifeq "$(AR)" ""
+AR = ar
+endif
+
TOP_ABS := $(abspath $(TOP))
$(eval $(call canonicalise,TOP_ABS))