diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-09-28 11:51:39 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-09-28 11:51:39 +0000 |
commit | b07f975aa0bf4cd638db0003750ccd5e92816bc9 (patch) | |
tree | 53c1c059f8459a1abc6f692deb8101e54fb05a3a /rules/cmm-suffix-rules.mk | |
parent | 5407ad8e0a5c08ac5193c1a9ede2a12570baee0b (diff) | |
download | haskell-b07f975aa0bf4cd638db0003750ccd5e92816bc9.tar.gz |
fix cut-and-paste bugs in .cmm -> .hc/.s rules
Diffstat (limited to 'rules/cmm-suffix-rules.mk')
-rw-r--r-- | rules/cmm-suffix-rules.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/cmm-suffix-rules.mk b/rules/cmm-suffix-rules.mk index 708c1b289a..0cb1c453c1 100644 --- a/rules/cmm-suffix-rules.mk +++ b/rules/cmm-suffix-rules.mk @@ -32,19 +32,19 @@ $1/$2/build/%.$$($3_way_)o : $1/$2/build/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) $1/$2/build/%.$$($3_way_)hc : $1/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) "$$(MKDIRHIER)" $$(dir $$@) - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -c $$< -o $$@ + "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -C $$< -o $$@ $1/$2/build/%.$$($3_way_)hc : $1/$2/build/%.cmm $$(rts_H_FILES) $$($1_$2_HC_DEP) "$$(MKDIRHIER)" $$(dir $$@) - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -c $$< -o $$@ + "$$($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) "$$(MKDIRHIER)" $$(dir $$@) - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -c $$< -o $$@ + "$$($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) "$$(MKDIRHIER)" $$(dir $$@) - "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -c $$< -o $$@ + "$$($1_$2_HC)" $$($1_$2_$3_MOST_HC_OPTS) -S $$< -o $$@ endif |