Ver Fonte

fix ssp uClibc-ng builds

Waldemar Brodkorb há 10 anos atrás
pai
commit
6e97021689
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      toolchain/uclibc-ng/Makefile

+ 3 - 0
toolchain/uclibc-ng/Makefile

@@ -9,6 +9,9 @@ include Makefile.inc
 include ${ADK_TOPDIR}/mk/buildhlp.mk
 
 TARGET_CFLAGS:=$(filter-out -flto,$(TARGET_CFLAGS))
+# handled by uClibc-ng makefiles
+TARGET_CFLAGS:=$(filter-out -fstack-protector-all,$(TARGET_CFLAGS))
+TARGET_LDFLAGS:=$(filter-out -fstack-protector-all,$(TARGET_LDFLAGS))
 
 ifeq ($(ADK_TARGET_HARD_FLOAT),y)
 ifeq ($(ADK_TARGET_ARCH_ARM),y)