diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-22 23:36:53 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-22 23:56:38 +0000 |
commit | e2249ff2c60fdade47489e7eb537a82fe397bd00 (patch) | |
tree | 46fe054a7f2e04dbfa847228723b87c444e1fb4f /rules/distdir-way-opts.mk | |
parent | a49e9cf3ff5af48c011c7ade9338b49b667b2201 (diff) | |
download | haskell-e2249ff2c60fdade47489e7eb537a82fe397bd00.tar.gz |
Make the build system use -dynamic-too if both way v and dyn are being built
Diffstat (limited to 'rules/distdir-way-opts.mk')
-rw-r--r-- | rules/distdir-way-opts.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk index c6f84c3585..b04241d2bf 100644 --- a/rules/distdir-way-opts.mk +++ b/rules/distdir-way-opts.mk @@ -100,6 +100,7 @@ $1_$2_$3_MOST_HC_OPTS = \ $$(if $$($1_PACKAGE),-optP-include -optP$1/$2/build/autogen/cabal_macros.h) \ $$(foreach pkg,$$($1_$2_DEPS),-package $$(pkg)) \ $$(if $$(findstring YES,$$($1_$2_SplitObjs)),$$(if $$(findstring dyn,$3),,-split-objs),) \ + $$(if $$(findstring YES,$$($1_$2_DYNAMIC_TOO)),$$(if $$(findstring v,$3),-dynamic-too)) \ $$($1_$2_HC_OPTS) \ $$(CONF_HC_OPTS_STAGE$4) \ $$($1_$2_MORE_HC_OPTS) \ |