30 lines
857 B
Diff
30 lines
857 B
Diff
|
From b9486474d36974b83d0b00fdcbfd1530299a0f7c Mon Sep 17 00:00:00 2001
|
||
|
From: Ken Brown <kbrown@cornell.edu>
|
||
|
Date: Thu, 27 Jul 2017 11:57:44 -0400
|
||
|
Subject: [PATCH] Configure: check for GCC 6 and 7
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||
|
---
|
||
|
Configure | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/Configure b/Configure
|
||
|
index 3259249..bdcfaf1 100755
|
||
|
--- a/Configure
|
||
|
+++ b/Configure
|
||
|
@@ -23612,7 +23612,7 @@ fi
|
||
|
|
||
|
: add -D_FORTIFY_SOURCE if feasible and not already there
|
||
|
case "$gccversion" in
|
||
|
-[45].*) case "$optimize$ccflags" in
|
||
|
+[4567].*) case "$optimize$ccflags" in
|
||
|
*-O*) case "$ccflags$cppsymbols" in
|
||
|
*_FORTIFY_SOURCE=*) # Don't add it again.
|
||
|
echo "You seem to have -D_FORTIFY_SOURCE already, not adding it." >&4
|
||
|
--
|
||
|
2.9.4
|
||
|
|