summaryrefslogtreecommitdiff
path: root/package/perl-net-ssleay
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-08-16 09:11:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-16 09:27:44 +0200
commit3cb705aa845c96e19f8b32e9994d5d319ce22930 (patch)
treefa18c43b67d06cccc81fce7472f4182b1ba9c93f /package/perl-net-ssleay
parent2ca9b88b3774a0dc509316d79759b873e4588c0f (diff)
perl-net-ssleay: fix build
the new option OPTIMIZE needs the same replacement. see http://autobuild.buildroot.net/results/278f9d121273a16cedc009c0b8df0a8659d8fb73/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-net-ssleay')
-rw-r--r--package/perl-net-ssleay/perl-net-ssleay.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/perl-net-ssleay/perl-net-ssleay.mk b/package/perl-net-ssleay/perl-net-ssleay.mk
index 9e9b8a7b9..b17975c43 100644
--- a/package/perl-net-ssleay/perl-net-ssleay.mk
+++ b/package/perl-net-ssleay/perl-net-ssleay.mk
@@ -15,10 +15,11 @@ PERL_NET_SSLEAY_LICENSE_FILES = LICENSE
# suffers from: don't search for openssl, they pick the host-system one.
PERL_NET_SSLEAY_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr
-# Remove problematic single quotes in LDDLFLAGS & CCFLAGS definition
+# Remove problematic single quotes in LDDLFLAGS, CCFLAGS & OPTIMIZE definition
define PERL_NET_SSLEAY_FIX_MAKEFILE
$(SED) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D)/Makefile
$(SED) "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" $(@D)/Makefile
+ $(SED) "s/^OPTIMIZE = '\(.*\)'/OPTIMIZE = \1/" $(@D)/Makefile
endef
PERL_NET_SSLEAY_POST_CONFIGURE_HOOKS += PERL_NET_SSLEAY_FIX_MAKEFILE