summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-19 18:24:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-19 18:24:35 +0100
commitf77a915ea102246477a57eae94b55329aa87eb45 (patch)
tree76805396e1e5bcf1ac6d53fd7de586c7d38516ec /toolchain/glibc
parentd787c28412cfd2bef52eb51bce33671caa6a8da2 (diff)
parent8519e56e04bbb3e5aaec150a35cfaeb9df60fb91 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/glibc')
-rw-r--r--toolchain/glibc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index d492b9837..f466021a7 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -5,11 +5,14 @@ include $(TOPDIR)/rules.mk
include ../rules.mk
# glibc does not compile with Os
-TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
+TARGET_CFLAGS:= $(subst Os,O2,$(TARGET_CFLAGS))
ifneq ($(ADK_DEBUG),)
-TARGET_CFLAGS+=-O2
+TARGET_CFLAGS+= -O2
endif
+# ssp partially supported
+TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
+
include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk