diff options
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) |