summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2009-02-21 15:04:31 +0000
committerru <ru@FreeBSD.org>2009-02-21 15:04:31 +0000
commit21f7074adead943a0dc3cef015c11ab5e77c3f67 (patch)
tree11c7670bed757ae772443084cab74e8ca7e3f130 /gnu
parent1631f0aa0ab88c016fb58469d9a616a487937c15 (diff)
downloadFreeBSD-src-21f7074adead943a0dc3cef015c11ab5e77c3f67.zip
FreeBSD-src-21f7074adead943a0dc3cef015c11ab5e77c3f67.tar.gz
Fix build when WITH_SSP is set explicitly.
Submitted by: Jeremie Le Hen
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile4
-rw-r--r--gnu/lib/libssp/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 6a27969..382a1ff 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+.include <bsd.own.mk>
+MK_SSP= no
+
GCCDIR= ${.CURDIR}/../../../contrib/gcc
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
CCDIR= ${.CURDIR}/../../usr.bin/cc
@@ -19,7 +22,6 @@ CFLAGS+= -I${GCCLIB}/include -I${GCCDIR}/config -I${GCCDIR} -I. \
-I${CCDIR}/cc_tools
CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG}
MKDEP= -DCRT_BEGIN
-WITHOUT_SSP=
.if ${MACHINE_ARCH} == "ia64"
BEGINSRC= crtbegin.asm
diff --git a/gnu/lib/libssp/Makefile b/gnu/lib/libssp/Makefile
index 4f6170e..c6b20dc 100644
--- a/gnu/lib/libssp/Makefile
+++ b/gnu/lib/libssp/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+.include <bsd.own.mk>
+MK_SSP= no
+
GCCDIR= ${.CURDIR}/../../../contrib/gcc
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
SRCDIR= ${GCCLIB}/libssp
@@ -10,7 +13,6 @@ LIB= ssp
SHLIB_MAJOR= 0
SHLIBDIR?= /lib
NO_PROFILE=
-WITHOUT_SSP=
SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
OpenPOWER on IntegriCloud