Get GCC 4.8 closer to build with "USE_SSP" set to "yes".
This commit is contained in:
parent
806892a224
commit
64f116ed07
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2014/03/01 10:00:36 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
@ -14,7 +14,8 @@ LIB= gcc_eh
|
||||
.cc: # disable .cc->NULL transform
|
||||
|
||||
SRCS+= ${LIB2_EH} ${LIB2_EHASM}
|
||||
COPTS.unwind-dw2.c = -Wno-stack-protector
|
||||
COPTS.c-typeck.c= -Wno-stack-protector
|
||||
COPTS.unwind-dw2.c= -Wno-stack-protector
|
||||
|
||||
MKPIC:= no
|
||||
|
||||
|
3
external/gpl3/gcc/usr.bin/cc1plus/Makefile
vendored
3
external/gpl3/gcc/usr.bin/cc1plus/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2014/03/01 10:00:49 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
PROG= cc1plus
|
||||
SRCS= ${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
||||
@ -38,6 +38,7 @@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbacktrace.a \
|
||||
|
||||
# YUCK. but see timevar.h:POP_TIMEVAR_AND_RETURN
|
||||
CFLAGS+= -Wno-error # not good enough: -Wno-return-type
|
||||
COPTS+= -Wno-stack-protector
|
||||
|
||||
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
||||
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:49 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@ -19,6 +19,9 @@ CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \
|
||||
-DCONFIGURE_SPECS="\"\"" \
|
||||
-I${BACKENDOBJ}
|
||||
|
||||
COPTS.prefix.c= -Wno-stack-protector
|
||||
COPTS.opts-common.c= -Wno-stack-protector
|
||||
|
||||
GENPROG_ERROR_DEPENDS=errors.lo
|
||||
|
||||
.include "../Makefile.options"
|
||||
|
5
external/gpl3/gcc/usr.bin/common/Makefile
vendored
5
external/gpl3/gcc/usr.bin/common/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:49 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@ -22,6 +22,9 @@ MKPICLIB:= no
|
||||
|
||||
HOSTPROG_CXX= 1
|
||||
|
||||
COPTS.diagnostic.c= -Wno-stack-protector
|
||||
COPTS.intl.c= -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# Force using C++ for this
|
||||
|
6
external/gpl3/gcc/usr.bin/gcov/Makefile
vendored
6
external/gpl3/gcc/usr.bin/gcov/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2014/03/01 10:00:52 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -18,7 +18,7 @@ HOSTPROG_CXX= 1
|
||||
# Force using C++ for this
|
||||
HOST_CC:= ${HOST_CXX}
|
||||
CC:= ${CXX}
|
||||
CFLAGS:= ${CXXFLAGS}
|
||||
CFLAGS:= ${CXXFLAGS} -Wno-stack-protector
|
||||
|
||||
.include "../Makefile.common"
|
||||
.include "../Makefile.libcpp"
|
||||
@ -29,6 +29,4 @@ CFLAGS:= ${CXXFLAGS}
|
||||
LDADD+= -lintl
|
||||
DPADD+= ${LIBINTL}
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gcc
|
||||
|
6
external/gpl3/gcc/usr.bin/libcpp/Makefile
vendored
6
external/gpl3/gcc/usr.bin/libcpp/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2014/03/01 10:00:52 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2014/03/05 21:37:02 tron Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@ -11,12 +11,12 @@ CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
|
||||
${G_INCLUDES:M-I*:N-I.*} \
|
||||
-DPREFIX=\"/usr\"
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
|
||||
HOSTPROG_CXX= 1
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
|
||||
# Force using C++ for this
|
||||
HOST_CC:= ${HOST_CXX}
|
||||
CC:= ${CXX}
|
||||
|
Loading…
Reference in New Issue
Block a user