uclibc++: only disable SSP for ppc

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46067
This commit is contained in:
Steven Barth 2015-06-19 14:36:37 +00:00
parent 38da12f7e4
commit 8a9fd81e55

View file

@ -44,7 +44,11 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
-e 's/mipsel.*/mips/' \
)
TARGET_CFLAGS += $(FPIC) -fno-stack-protector
ifeq ($(ARCH),powerpc)
TARGET_CFLAGS += -fno-stack-protector
endif
TARGET_CFLAGS += $(FPIC)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX=$(TARGET_CXX_NOCACHE)