diff options
Diffstat (limited to 'dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch')
-rw-r--r-- | dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch new file mode 100644 index 000000000000..03d06b6b8d44 --- /dev/null +++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.82-respect-cflags.patch @@ -0,0 +1,26 @@ +From 8472348e588c16ad5332fe0b1f1dc9cc8eb4ab7d Mon Sep 17 00:00:00 2001 +From: Torsten Veller <tove@gentoo.org> +Date: Mon, 16 Jul 2012 05:31:43 +1200 +Subject: Respect CFLAGS + +Bug: https://bugs.gentoo.org/378657 +--- + inc/Module/Install/PRIVATE/Net/SSLeay.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/Module/Install/PRIVATE/Net/SSLeay.pm b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +index 5abcf70..49913e6 100644 +--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm ++++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm +@@ -129,7 +129,7 @@ EOM + + if (($Config{cc} =~ /aCC/i) && $^O eq 'hpux') { + print "*** Enabling HPUX aCC options (+e)\n"; +- $opts->{optimize} = '+e -O2 -g'; ++ $opts->{optimize} = '+e ' . $opts->{optimize}; + } + + if ( (($Config{ccname} || $Config{cc}) eq 'gcc') && ($Config{cccdlflags} =~ /-fpic/) ) { +-- +2.14.3 + |