From: Steven Barth Date: Fri, 19 Jun 2015 14:36:37 +0000 (+0000) Subject: uclibc++: only disable SSP for ppc X-Git-Tag: reboot~2720 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8a9fd81e551927f6d6e092544bf6d89f34081856;p=openwrt%2Fstaging%2Fblogic.git uclibc++: only disable SSP for ppc Signed-off-by: Steven Barth SVN-Revision: 46067 --- diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile index a726a1edad52..8374db5322c0 100644 --- a/package/libs/uclibc++/Makefile +++ b/package/libs/uclibc++/Makefile @@ -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)