From: Clemens Fruhwirth Date: Mon, 6 Aug 2007 08:51:20 +0000 (+0000) Subject: Call windres with explicit preprocessor path in case gcc is not in $PATH X-Git-Tag: 2007-09-25~131 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=fd8b4a3cdb841673b9b46ef9b5869b15460cff41;hp=dfc4d5e3b9642aef3c659f977ab1c36140c0676d Call windres with explicit preprocessor path in case gcc is not in $PATH --- diff --git a/mk/suffix.mk b/mk/suffix.mk index d36c0b3..762636a 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -378,7 +378,7 @@ endif %.$(way_)o : %.$(way_)rc @$(RM) $@ - windres $< $@ + windres --preprocessor="$(CPP) -xc -DRC_INVOKED" $< $@ #----------------------------------------------------------------------------- # Preprocessor suffix rule