Commit 1f9d5a88 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Windows now doesn't need different values for DQ in the build system

parent bf93e4a1
......@@ -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 :
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment