windres to use the gcc given as --with-cc.
authorClemens Fruhwirth <clemens@endorphin.org>
Tue, 3 Jul 2007 14:56:53 +0000 (14:56 +0000)
committerClemens Fruhwirth <clemens@endorphin.org>
Tue, 3 Jul 2007 14:56:53 +0000 (14:56 +0000)
driver/ghci/Makefile

index cdc4d4e..37c30c2 100644 (file)
@@ -58,7 +58,7 @@ endif
 
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 ghci.res : ghci.rc ghci.ico
-       windres -o ghci.res -i ghci.rc -O coff
+       windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff
 endif
 
 binary-dist: