summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-02-17 08:36:56 -0600
committerAustin Seipp <austin@well-typed.com>2015-02-17 09:06:11 -0600
commit555eef1d0fb5a7fd07971c1201b3c520f01125d4 (patch)
treeda0cb249cbb06d41b0111b82aad642efd5365eb0 /mk
parent49d99ebf6e341e26caf1d3db794cb6fa06ee72f6 (diff)
downloadhaskell-555eef1d0fb5a7fd07971c1201b3c520f01125d4.tar.gz
Remove RAWCPP_FLAGS (Task #9094)
Reviewers: carter, austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D648 GHC Trac Issues: #9094
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in11
1 files changed, 2 insertions, 9 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 40c66d97c0..dfe8c2b445 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -623,18 +623,11 @@ ArSupportsAtFile_STAGE3 = $(ArSupportsAtFile)
CONTEXT_DIFF = @ContextDiffCmd@
CP = cp
+
# It's not easy to separate the CPP program from its flags, as
# AC_PROG_CPP defines CPP as "/usr/bin/gcc -E"
CPP = @CPP@ @CPPFLAGS@
-#
-# RAWCPP_FLAGS are the flags to give to cpp (viz, gcc -E) to persuade it to
-# behave plausibly on Haskell sources.
-#
-# Clang in particular is a bit more annoying, so we suppress some warnings.
-RAWCPP_FLAGS = -undef -traditional
-ifeq "$(CC_CLANG_BACKEND)" "1"
-RAWCPP_FLAGS += -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs
-endif
+HS_CPP = @HaskellCPPCmd@ @HaskellCPPArgs@
FIND = @FindCmd@