summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-10-07 08:47:52 -0500
committerAustin Seipp <austin@well-typed.com>2014-10-07 08:47:53 -0500
commit460eebec65811c6a7bbe11645df322dda868e80d (patch)
tree61cc67d4ee6d7147e5e9546f7ac887a496492e31 /mk
parent3c5648afff13e9f6e94dea4094cc3a3fb97baeea (diff)
downloadhaskell-460eebec65811c6a7bbe11645df322dda868e80d.tar.gz
Remove RAWCPP_FLAGS
Summary: #9094 mentions to "remove the RAW_CPP bits from the ghc build system because they're not longer needed", "once the CPP settings ticket is merged #8683" #8683 was merged with 34f7e9a3c99850859901ca74370f55f1d4e2279a, Phab:D26. Test Plan: harbormaster Reviewers: carter, austin Reviewed By: austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D240 GHC Trac Issues: #9094
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 392237f903..4d860ec1da 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -626,15 +626,6 @@ 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
FIND = @FindCmd@