diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-03-14 16:56:23 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-03-15 00:49:24 +0000 |
commit | 6215d4c858c1502c6c1929521fdd7fd00f16bb2d (patch) | |
tree | 4137b2064914fe23306a68219127dd8347075b86 /testsuite/mk/boilerplate.mk | |
parent | f3da8ce8a034f1c0e3dc9aa30faf721fea2ec70b (diff) | |
download | haskell-6215d4c858c1502c6c1929521fdd7fd00f16bb2d.tar.gz |
Fix tests for dynamic ghc
Diffstat (limited to 'testsuite/mk/boilerplate.mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index f9ed52ee0f..e5bf164391 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -164,6 +164,16 @@ ifeq "$(findstring clean,$(MAKECMDGOALS))" "" include $(ghc-config-mk) endif +ifeq "$(GhcDynamic)" "YES" +ghcThWayFlags = -dynamic +ghciWayFlags = -dynamic +ghcPluginWayFlags = -dynamic +else +ghcThWayFlags = -static +ghciWayFlags = -static +ghcPluginWayFlags = -static +endif + # ----------------------------------------------------------------------------- ifeq "$(HostOS)" "mingw32" |