Windows now doesn't need different values for DQ in the build system
authorIan Lynagh <igloo@earth.li>
Wed, 23 Jan 2008 17:39:33 +0000 (17:39 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 23 Jan 2008 17:39:33 +0000 (17:39 +0000)
compiler/Makefile
rts/Makefile

index 7fb6eea..a7d8452 100644 (file)
@@ -95,15 +95,8 @@ ifeq "$(stage)" ""
 stage=1
 endif
 
-ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
-ifeq "$(stage)" "1"
+# XXX DQ is now the same on all platforms, so get rid of it
 DQ = \"
-else
-DQ = \\\"
-endif
-else
-DQ = \"
-endif
 
 .DUMMY: stage_dir
 stage_dirs :
index 9e30a22..db1c31e 100644 (file)
@@ -177,13 +177,8 @@ LIB_LD_OPTS = -L$(shell $(GHC_PKG_INPLACE) field base library-dirs | sed -e 's/l
 endif
 endif
 
-ifeq "$(Windows)" "YES"
-# On Windows GHC does its own commandline parsing, so we need extra
-# doublequote protection. Sigh.
-DQ = \\\"
-else
+# XXX DQ is now the same on all platforms, so get rid of it
 DQ = \"
-endif
 
 # If Main.c is built with optimisation then the SEH exception stuff on
 # Windows gets confused.