mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
perl: put -rdynamic in proper build variable
The standard way to pass -rdynamic (or -Wl,--dynamic-export) is via the $ccdlflags variable. Do what is best practice. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
+2
-2
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user