Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
44886bae
Commit
44886bae
authored
Aug 30, 2004
by
sof
Browse files
[project @ 2004-08-30 15:43:14 by sof]
escape GHC_PKG_VERSION double quotes on all platforms when compiling with <=6.0.x
parent
43b33480
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/ghc-pkg/Makefile
View file @
44886bae
...
...
@@ -14,7 +14,9 @@ ghc_le_600 = $(shell if (test $(GhcCanonVersion) -le 600); then echo YES; else e
SRC_HC_OPTS
+=
-cpp
-DPKG_TOOL
-DWANT_PRETTY
ifeq
"$(HOSTPLATFORM)$(ghc_le_600)" "i386-unknown-mingw32YES"
# <= 6.0.x quotes all arguments when invoking utils (using double quotes), hence
# the need to escape the double quotes. >= 6.2.x does not.
ifeq
"$(ghc_le_600)" "NO"
SRC_HC_OPTS
+=
-D
'GHC_PKG_VERSION=\"
$(ProjectVersion)
\"'
else
SRC_HC_OPTS
+=
-D
'GHC_PKG_VERSION="
$(ProjectVersion)
"'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment