From d99db94d7e382b455f19add37855693e3dcee787 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 20 Jun 2015 18:36:52 +0000 Subject: uclibc++: link against libssp_nonshared instead of libssp Signed-off-by: Steven Barth git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46076 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libs/uclibc++/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'package') diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile index 8374db5322..3e9fd73c26 100644 --- a/package/libs/uclibc++/Makefile +++ b/package/libs/uclibc++/Makefile @@ -44,10 +44,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ -e 's/mipsel.*/mips/' \ ) -ifeq ($(ARCH),powerpc) -TARGET_CFLAGS += -fno-stack-protector -endif - TARGET_CFLAGS += $(FPIC) ifneq ($(CONFIG_CCACHE),) @@ -61,7 +57,7 @@ MAKE_FLAGS:= \ CROSS="$(TARGET_CROSS)" \ LDFLAGS="-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,defs $(TARGET_LDFLAGS)" \ CP="$(CP)" \ - GEN_LIBS="-lc $(LIBGCC_S) -lssp" \ + GEN_LIBS="-lc $(LIBGCC_S) -lssp_nonshared" \ check_as_needed= # check_as_needed overrides dependency on libgcc_s -- cgit v1.2.3