소스 검색

uclibc++: only disable SSP for ppc

Signed-off-by: Steven Barth <[email protected]>

SVN-Revision: 46067
Steven Barth 10 년 전
부모
커밋
8a9fd81e55
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      package/libs/uclibc++/Makefile

+ 5 - 1
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)