diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-06-19 14:36:37 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-06-19 14:36:37 +0000 |
commit | 8a9fd81e551927f6d6e092544bf6d89f34081856 (patch) | |
tree | cc217981a046047ad751e40d5213cfcc10927624 /package/libs | |
parent | 38da12f7e40e2917878ca90e02f680ea480439bc (diff) | |
download | upstream-8a9fd81e551927f6d6e092544bf6d89f34081856.tar.gz upstream-8a9fd81e551927f6d6e092544bf6d89f34081856.tar.bz2 upstream-8a9fd81e551927f6d6e092544bf6d89f34081856.zip |
uclibc++: only disable SSP for ppc
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46067
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/uclibc++/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile index a726a1edad..8374db5322 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) |