summaryrefslogtreecommitdiff
path: root/mk/warnings.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-09-24 18:39:23 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-25 09:03:40 -0400
commit519f5162614df6d705de3dce23384d63a2b2b81d (patch)
treed9990e17a5ef6c2fecbea6a287f46799756d70c4 /mk/warnings.mk
parent02822d847c0bf6a4562cb1a600251d6568f72ce3 (diff)
downloadhaskell-519f5162614df6d705de3dce23384d63a2b2b81d.tar.gz
configure: Drop GccLT46
GCC 4.6 was released 7 years ago. I think we can finally assume that it's available. This is a simplification prompted by #15742.
Diffstat (limited to 'mk/warnings.mk')
-rw-r--r--mk/warnings.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk
index cee408d061..e2116a332a 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -21,12 +21,10 @@ ifneq "$(CcLlvmBackend)" "YES"
# Debian doesn't turn -Werror=unused-but-set-variable on by default, so
# we turn it on explicitly for consistency with other users
-ifeq "$(GccLT46)" "NO"
# Never set the flag on Windows as the host gcc may be too old.
ifneq "$(HostOS_CPP)" "mingw32"
SRC_CC_WARNING_OPTS += -Werror=unused-but-set-variable
endif
-endif
# Suppress the warning about __sync_fetch_and_nand (#9678).
libraries/ghc-prim/cbits/atomic_CC_OPTS += -Wno-sync-nand