X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fsuffix.mk;h=276c0c02f0213d12a01a7a716f253940448650af;hp=984c311ef43c9b6aa0d9a2f7a5f38470bea68157;hb=0065d5ab628975892cea1ec7303f968c3338cbe1;hpb=28a464a75e14cece5db40f2765a29348273ff2d2 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