summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-19 22:18:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-19 22:18:08 +0100
commit5f1bdd99432c66a0d24f43a422eac031bf9cde7e (patch)
tree0ef36efec77fcb9079bd893c2e34388f8ecd107f /toolchain/glibc/Makefile
parent46b2bb3001ce838ba2483a08418587d8a027f3a9 (diff)
parentefef6232a538b3294e4efd94480d1ec2ef727330 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/glibc/Makefile')
-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