diff options
author | Ian Lynagh <igloo@earth.li> | 2009-10-05 21:38:43 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-10-05 21:38:43 +0000 |
commit | b5384cdf7f1d0e6c326bb939b85acd137b0a589b (patch) | |
tree | 8e2288b4a68caba9b5eec31a7ee6d9cf6ee977ef /rules/cmm-suffix-rules.mk | |
parent | 3b03f47bbeb96c12351ebd11f6565e1f8cec4241 (diff) | |
download | haskell-b5384cdf7f1d0e6c326bb939b85acd137b0a589b.tar.gz |
Comment out some unnecessary makefile rules
Since we started using "| $$$$(dir $$$$@)/." they've started causing
problems for unknown reasons.
Diffstat (limited to 'rules/cmm-suffix-rules.mk')
-rw-r--r-- | rules/cmm-suffix-rules.mk | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/rules/cmm-suffix-rules.mk b/rules/cmm-suffix-rules.mk index b806414a43..40fc7d1268 100644 --- a/rules/cmm-suffix-rules.mk +++ b/rules/cmm-suffix-rules.mk @@ -34,11 +34,19 @@ $1/$2/build/%.$$($3_way_)hc : $1/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(d $1/$2/build/%.$$($3_way_)hc : $1/$2/build/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/. "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -C $$< -o $$@ -$1/$2/build/%.$$($3_way_)s : $1/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/. - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -S $$< -o $$@ - -$1/$2/build/%.$$($3_way_)s : $1/$2/build/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/. - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -S $$< -o $$@ +# XXX +# When we started using "| $$$$(dir $$$$@)/." for directory deps, these +# rules started getting used when object splitting is enabled for some +# reason. But they fail with +# **splitmangle**: openBinaryFile: does not exist (No such file or directory) +# so for now they're commented out. They aren't needed, as we can always +# go directly to .o files. +# +# $1/$2/build/%.$$($3_way_)s : $1/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/. +# "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -S $$< -o $$@ +# +# $1/$2/build/%.$$($3_way_)s : $1/$2/build/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/. +# "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -S $$< -o $$@ endif |