summaryrefslogtreecommitdiff
path: root/package/glibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
commitac46e350e174e78a55a348eda775665ae0eb3277 (patch)
tree5574ba5e9a7108554683edb25bcd4b99599b8fa7 /package/glibc
parent89aa2adc650176b493075e1d8e64f1b6cc635d90 (diff)
update gcc, glibc and fix build breakage
Diffstat (limited to 'package/glibc')
-rw-r--r--package/glibc/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 27cbe28f8..113c24d80 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -2,6 +2,10 @@
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
+
+TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
include $(TOPDIR)/toolchain/glibc/Makefile.inc
PKG_DESCR:= GNU C library
@@ -16,6 +20,9 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GLIBC,glibc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
@@ -52,6 +59,7 @@ endif
done
glibc-dev-install:
+ echo $(TARGET_CFLAGS)
${INSTALL_DIR} $(IDIR_GLIBC_DEV)/lib $(IDIR_GLIBC_DEV)/usr/lib
# install linker script
-cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so