From d9ca85fca7bd0972742fae2a4c2d0ae6269ec059 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 21 Feb 2009 15:04:31 +0000 Subject: Fix build when WITH_SSP is set explicitly. Submitted by: Jeremie Le Hen --- gnu/lib/csu/Makefile | 4 +++- gnu/lib/libssp/Makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/lib') diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 6a279690ccf9..382a1ff204fc 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -1,5 +1,8 @@ # $FreeBSD$ +.include +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 4f6170e78423..c6b20dc93b66 100644 --- a/gnu/lib/libssp/Makefile +++ b/gnu/lib/libssp/Makefile @@ -1,5 +1,8 @@ # $FreeBSD$ +.include +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 \ -- cgit v1.3