diff options
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r-- | rules/build-prog.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 99093d3fee..1f43169ce3 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -117,8 +117,12 @@ ifeq "$3" "0" # worry about where the RTS header files are $(call c-suffix-rules,$1,$2,v,YES) else +ifeq "$$($1_$2_UseGhcForCC)" "YES" +$(call c-suffix-rules,$1,$2,v,YES) +else $(call c-suffix-rules,$1,$2,v,NO) endif +endif $(call hs-suffix-rules,$1,$2,v) $$(foreach dir,$$($1_$2_HS_SRC_DIRS),\ |