summaryrefslogtreecommitdiff
path: root/package/libs/uclibc++
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-20 18:36:52 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-20 18:36:52 +0000
commit933b588e25556319fc762aca09d60f6b87d7a943 (patch)
treeb1abb84bad46c718f39192d0f3d366c3a372fa09 /package/libs/uclibc++
parenteb73f4aed798280e9012f535b6b7c227d4496b8f (diff)
downloadmtk-20170518-933b588e25556319fc762aca09d60f6b87d7a943.zip
mtk-20170518-933b588e25556319fc762aca09d60f6b87d7a943.tar.gz
mtk-20170518-933b588e25556319fc762aca09d60f6b87d7a943.tar.bz2
uclibc++: link against libssp_nonshared instead of libssp
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46076
Diffstat (limited to 'package/libs/uclibc++')
-rw-r--r--package/libs/uclibc++/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile
index 8374db5..3e9fd73 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