Fix GCC version detection for -D_FORTIFY_SOURCE override
This commit is contained in:
parent
0721cd5f0e
commit
724df1cb5a
|
@ -0,0 +1,29 @@
|
||||||
|
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
|
||||||
|
|
|
@ -224,6 +224,10 @@ Patch55: perl-5.27.2-Avoid-compiler-warnings-due-to-mismatched-types-in-p
|
||||||
# in upstream after 5.27.2
|
# in upstream after 5.27.2
|
||||||
Patch56: perl-5.27.2-EU-Constant-avoid-uninit-warning.patch
|
Patch56: perl-5.27.2-EU-Constant-avoid-uninit-warning.patch
|
||||||
|
|
||||||
|
# Fix GCC version detection for -D_FORTIFY_SOURCE override, RT#131809,
|
||||||
|
# in upstream after 5.27.2
|
||||||
|
Patch57: perl-5.27.2-Configure-check-for-GCC-6-and-7.patch
|
||||||
|
|
||||||
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
|
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
|
||||||
Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
|
Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
|
||||||
|
|
||||||
|
@ -2810,6 +2814,7 @@ Perl extension for Version Objects
|
||||||
%patch54 -p1
|
%patch54 -p1
|
||||||
%patch55 -p1
|
%patch55 -p1
|
||||||
%patch56 -p1
|
%patch56 -p1
|
||||||
|
%patch57 -p1
|
||||||
%patch200 -p1
|
%patch200 -p1
|
||||||
%patch201 -p1
|
%patch201 -p1
|
||||||
|
|
||||||
|
@ -2851,6 +2856,7 @@ perl -x patchlevel.h \
|
||||||
'Fedora Patch54: Fix splitting non-ASCII strings if unicode_strings feature is enabled (RT#130907)' \
|
'Fedora Patch54: Fix splitting non-ASCII strings if unicode_strings feature is enabled (RT#130907)' \
|
||||||
'Fedora Patch55: Fix compiler warnings in code generated by ExtUtils::Constant (CPAN RT#63832)' \
|
'Fedora Patch55: Fix compiler warnings in code generated by ExtUtils::Constant (CPAN RT#63832)' \
|
||||||
'Fedora Patch56: Fix compiler warnings in code generated by ExtUtils::Constant (CPAN RT#101487)' \
|
'Fedora Patch56: Fix compiler warnings in code generated by ExtUtils::Constant (CPAN RT#101487)' \
|
||||||
|
'Fedora Patch57: Fix GCC version detection for -D_FORTIFY_SOURCE override (RT#131809)' \
|
||||||
'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux' \
|
'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux' \
|
||||||
'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
|
'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
@ -5148,6 +5154,7 @@ popd
|
||||||
- Fix splitting non-ASCII strings if unicode_strings feature is enabled (RT#130907)
|
- Fix splitting non-ASCII strings if unicode_strings feature is enabled (RT#130907)
|
||||||
- Fix compiler warnings in code generated by ExtUtils::Constant
|
- Fix compiler warnings in code generated by ExtUtils::Constant
|
||||||
(CPAN RT#63832, CPAN RT#101487)
|
(CPAN RT#63832, CPAN RT#101487)
|
||||||
|
- Fix GCC version detection for -D_FORTIFY_SOURCE override (RT#131809)
|
||||||
|
|
||||||
* Sat Jul 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4:5.26.0-397
|
* Sat Jul 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4:5.26.0-397
|
||||||
- Enable separate debuginfo back
|
- Enable separate debuginfo back
|
||||||
|
|
Loading…
Reference in New Issue