summaryrefslogtreecommitdiff
path: root/package/perl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-07 20:47:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-07 20:47:37 +0100
commitf04afc39aa98f84229d4fe0820ddc5349bb18b08 (patch)
tree17ddcfb50485fe02e69fb31b26e6cfe7216a5a30 /package/perl/Makefile
parent5f3c1c3b4c75409070f8a0f32b27650ef4d39864 (diff)
parentb8a5f39cf7e72bc8e25bfbce24c0820ad43f0721 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/perl/Makefile')
-rw-r--r--package/perl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/perl/Makefile b/package/perl/Makefile
index ed5090ea2..d42e2d356 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -24,6 +24,9 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+# ld memory exhausted problem
+TARGET_CFLAGS:= $(subst g3,g,$(TARGET_CFLAGS))
+
host-configure:
(cd ${WRKBUILD}; ./Configure -der -Uusedl)
@@ -46,7 +49,7 @@ do-configure:
-e 's!%%CPPFLAGS%%!$(TARGET_CPPFLAGS)!g' \
-e 's!%%LIBDIRS%%!$(STAGING_TARGET_DIR)/lib $(STAGING_TARGET_DIR)/usr/lib!g' \
-e 's!%%INCDIRS%%!$(STAGING_TARGET_DIR)/include $(STAGING_TARGET_DIR)/usr/include!g' \
- ./files/config.sh.$(CPU_ARCH) > ${WRKBUILD}/config.sh
+ ./files/config.sh.$(CPU_ARCH).$(ADK_TARGET_LIBC) > ${WRKBUILD}/config.sh
(cd ${WRKBUILD}; ./Configure -S)
do-build: