summaryrefslogtreecommitdiff
path: root/rules/build-prog.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-21 15:05:22 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-21 15:05:22 +0000
commit0565f88e41bcd33fff52d884e2747c333d5d122e (patch)
tree0940bd985194022bb65d75fa83d7d66b20db91fc /rules/build-prog.mk
parenteb90651b42be335e12b814e7f44d7b92ba844352 (diff)
downloadhaskell-0565f88e41bcd33fff52d884e2747c333d5d122e.tar.gz
Split non-way-specific variables off from distdir-way-opts into distdir-opts
The hsc2hs, alex and happy options variables are now also non-way-specific, as the files are shared between all ways.
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r--rules/build-prog.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 69c5d759d1..1321eac104 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -140,6 +140,7 @@ $(call c-sources,$1,$2)
# --- IMPLICIT RULES
+$(call distdir-opts,$1,$2,,$3)
$(call distdir-way-opts,$1,$2,$$($1_$2_PROGRAM_WAY),$3)
ifeq "$3" "0"