1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-28 09:40:00 +02:00

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)