From 8a9fd81e551927f6d6e092544bf6d89f34081856 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 19 Jun 2015 14:36:37 +0000 Subject: [PATCH] uclibc++: only disable SSP for ppc Signed-off-by: Steven Barth SVN-Revision: 46067 --- package/libs/uclibc++/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.30.2