Merge pull request #12005 from dl12345/master-perl

perl: fix compilation on x86_64 with glibc and ssp
This commit is contained in:
Rosen Penev 2020-04-29 12:18:33 -07:00 committed by GitHub
commit 5aa0e95040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ include perlver.mk
PKG_NAME:=perl
PKG_VERSION:=$(PERL_VERSION)
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE_URL:=\
https://cpan.metacpan.org/src/5.0 \
@ -99,7 +99,7 @@ define Build/Configure
-Dowrt:gccversion=$(CONFIG_GCC_VERSION) \
-Dowrt:target_cross='$(TARGET_CROSS)' \
-Dowrt:cflags='$(TARGET_CFLAGS_PERL) $(TARGET_CPPFLAGS_PERL)' \
-Dowrt:ldflags='$(TARGET_LDFLAGS)' \
-Dowrt:ldflags='$(TARGET_LDFLAGS) $(if $(CONFIG_GCC_LIBSSP),-lssp)' \
-Dowrt:libc=$(subst uClibc,uclibc,$(CONFIG_LIBC)) \
-Dowrt:ipv6=$(if $($(CONFIG_IPV6)),define,undef) \
-Dowrt:threads=$(if $(CONFIG_PERL_THREADS),yes,no) \