uclibc++: only disable SSP for ppc

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

SVN-Revision: 46067
lede-17.01
Steven Barth 2015-06-19 14:36:37 +00:00
parent 38da12f7e4
commit 8a9fd81e55
1 changed files with 5 additions and 1 deletions

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)