X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=276c0c02f0213d12a01a7a716f253940448650af;hb=82a36a85dc7150d7b7172e221741bf39eaa8eaab;hp=984c311ef43c9b6aa0d9a2f7a5f38470bea68157;hpb=04c0256a8facd22044f6703f2ba99fa9ca0b6930;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index 984c311..276c0c0 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -26,7 +26,7 @@ # Haskell Suffix Rules # The $(odir) support is for building GHC, where we need to build three -# different versions from the same sources. See ghc/compiler/Makefile. +# different versions from the same sources. See compiler/Makefile. ifneq "$(odir)" "" odir_ = $(odir)/ else @@ -165,7 +165,7 @@ endif # BootingFromHc # ifneq "$(BootingFromHc)" "YES" %_hsc.c %_hsc.h %.hs : %.hsc - $(HSC2HS) $(HSC2HS_OPTS) $< + $(HSC2HS_INPLACE) $(HSC2HS_OPTS) $< @touch $(patsubst %.hsc,%_hsc.c,$<) endif