summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-28 17:22:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-28 17:22:38 +0100
commit7e7a9a7fdc49ff753d30bf2e1792003cdce7ff6f (patch)
treea163fe65e6b7fd9284aaf32240bfaa93f4b56c52 /package
parentd600dfc51eac723deec0810d61b5577c2a024b13 (diff)
parent0d7175e0d66f40afccbcc5de3fe9d871099d0414 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package')
-rw-r--r--package/busybox/patches/004-remove-cflags.patch22
-rw-r--r--package/perl/Makefile4
2 files changed, 24 insertions, 2 deletions
diff --git a/package/busybox/patches/004-remove-cflags.patch b/package/busybox/patches/004-remove-cflags.patch
new file mode 100644
index 000000000..e1daf3294
--- /dev/null
+++ b/package/busybox/patches/004-remove-cflags.patch
@@ -0,0 +1,22 @@
+diff -Nur busybox-1.18.1.orig/Makefile.flags busybox-1.18.1/Makefile.flags
+--- busybox-1.18.1.orig/Makefile.flags 2010-12-20 01:41:26.000000000 +0100
++++ busybox-1.18.1/Makefile.flags 2011-01-27 21:24:51.000000000 +0100
+@@ -57,18 +57,6 @@
+ # be fixed..
+ #CFLAGS += $(call cc-option,-Wconversion,)
+
+-ifneq ($(CONFIG_DEBUG),y)
+-CFLAGS += $(call cc-option,-Os,)
+-else
+-CFLAGS += $(call cc-option,-g,)
+-#CFLAGS += "-D_FORTIFY_SOURCE=2"
+-ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
+-CFLAGS += $(call cc-option,-O0,)
+-else
+-CFLAGS += $(call cc-option,-Os,)
+-endif
+-endif
+-
+ # If arch/$(ARCH)/Makefile did not override it (with, say, -fPIC)...
+ ARCH_FPIC ?= -fpic
+ ARCH_FPIE ?= -fpie
diff --git a/package/perl/Makefile b/package/perl/Makefile
index e6e64bef9..16b6ec599 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -6,7 +6,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= perl
PKG_VERSION:= 5.12.2
PKG_RELEASE:= 2
-PKG_MD5SUM:= af2df531d46b77fdf0d97eecb03eddb2
+PKG_MD5SUM:= 20781ca125fb6346bb343a15e082d127
PKG_DESCR:= full-blown Perl
PKG_SECTION:= lang
PKG_URL:= http://www.perl.org/
@@ -21,7 +21,7 @@ $(eval $(call PKG_template,PERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_
CONFIG_STYLE:= manual
pre-configure:
- (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc -Dprefix=/usr);
+ (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc -Dprefix=/usr -A ccflags="${TARGET_CFLAGS}");
post-install:
${INSTALL_DIR} ${IDIR_PERL}/usr/bin