uclibc++: link against libssp_nonshared instead of libssp
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46076
This commit is contained in:
parent
eb73f4aed7
commit
933b588e25
1 changed files with 1 additions and 5 deletions
|
@ -44,10 +44,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
|
||||||
-e 's/mipsel.*/mips/' \
|
-e 's/mipsel.*/mips/' \
|
||||||
)
|
)
|
||||||
|
|
||||||
ifeq ($(ARCH),powerpc)
|
|
||||||
TARGET_CFLAGS += -fno-stack-protector
|
|
||||||
endif
|
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
ifneq ($(CONFIG_CCACHE),)
|
ifneq ($(CONFIG_CCACHE),)
|
||||||
|
@ -61,7 +57,7 @@ MAKE_FLAGS:= \
|
||||||
CROSS="$(TARGET_CROSS)" \
|
CROSS="$(TARGET_CROSS)" \
|
||||||
LDFLAGS="-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,defs $(TARGET_LDFLAGS)" \
|
LDFLAGS="-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,defs $(TARGET_LDFLAGS)" \
|
||||||
CP="$(CP)" \
|
CP="$(CP)" \
|
||||||
GEN_LIBS="-lc $(LIBGCC_S) -lssp" \
|
GEN_LIBS="-lc $(LIBGCC_S) -lssp_nonshared" \
|
||||||
check_as_needed=
|
check_as_needed=
|
||||||
|
|
||||||
# check_as_needed overrides dependency on libgcc_s
|
# check_as_needed overrides dependency on libgcc_s
|
||||||
|
|
Loading…
Reference in a new issue