Browse Source

Merge pull request #4953 from pprindeville/perl-move-rdynamic

Perl move -rdynamic
lilik-openwrt-22.03
Philip Prindeville 7 years ago
committed by GitHub
parent
commit
4317fe0a10
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      lang/perl/Makefile
  2. +2
    -2
      lang/perl/files/base.config

+ 2
- 2
lang/perl/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=perl
PKG_VERSION:=5.24.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=\
https://cpan.metacpan.org/src/5.0 \
@ -96,7 +96,7 @@ define Build/Configure
-Dowrt:gccversion=$(CONFIG_GCC_VERSION) \
-Dowrt:target_cross='$(TARGET_CROSS)' \
-Dowrt:cflags='$(TARGET_CFLAGS_PERL) $(TARGET_CPPFLAGS_PERL)' \
-Dowrt:ldflags='-rdynamic $(TARGET_LDFLAGS)' \
-Dowrt:ldflags='$(TARGET_LDFLAGS)' \
-Dowrt:libc=$(subst uClibc,uclibc,$(CONFIG_LIBC)) \
-Dowrt:ipv6=$(if $($(CONFIG_IPV6)),define,undef) \
-Dowrt:threads=$(if $(CONFIG_PERL_THREADS),yes,no) \


+ 2
- 2
lang/perl/files/base.config View File

@ -1006,9 +1006,9 @@ full_ar="${owrt:target_cross}ar"
cppflags="$owrt:cflags"
ccflags="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $owrt:cflags"
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccdlflags="-fPIC -Wl,-rpath,$owrt:perllibpath/CORE"
ccdlflags="-fPIC -rdynamic -Wl,-rpath,$owrt:perllibpath/CORE"
cccdlflags='-fPIC'
ldflags=''
ldflags="$owrt:ldflags"
ldflags_uselargefiles=''
lddlflags="-shared $owrt:ldflags"


Loading…
Cancel
Save