Fix build with "HAVE_GCC=48" and "USE_SSP=yes".
This commit is contained in:
parent
7b9b4247ee
commit
0bb5c0ea6c
16
external/gpl3/gcc/usr.bin/cc1/Makefile
vendored
16
external/gpl3/gcc/usr.bin/cc1/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/22 17:57:47 tron Exp $
|
||||
|
||||
PROG= cc1
|
||||
SRCS= ${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
||||
@ -31,7 +31,17 @@ CHECKSUM_OBJS= ${BACKENDOBJ}/libbackend.a \
|
||||
# VER_CPPFLAGS from Makefile.inc
|
||||
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
COPTS.c-ada-spec.c= -Wno-stack-protector
|
||||
COPTS.c-aux-info.c= -Wno-stack-protector
|
||||
COPTS.c-common.c= -Wno-stack-protector
|
||||
COPTS.c-cppbuiltin.c= -Wno-stack-protector
|
||||
COPTS.c-format.c= -Wno-stack-protector
|
||||
COPTS.c-format.h= -Wno-stack-protector
|
||||
COPTS.c-lex.c= -Wno-stack-protector
|
||||
COPTS.c-opts.c= -Wno-stack-protector
|
||||
COPTS.c-ppoutput.c= -Wno-stack-protector
|
||||
COPTS.c-pragma.c= -Wno-stack-protector
|
||||
COPTS.c-typeck.c= -Wno-stack-protector
|
||||
|
||||
CPPFLAGS.default-c.c+= -I${BACKENDOBJ}
|
||||
|
||||
@ -41,3 +51,5 @@ DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
||||
.PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
|
||||
.PATH: ${G_out_file:H}
|
||||
|
||||
gugu:
|
||||
@echo ${COPTS}
|
||||
|
15
external/gpl3/gcc/usr.bin/cc1obj/Makefile
vendored
15
external/gpl3/gcc/usr.bin/cc1obj/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/22 17:57:47 tron Exp $
|
||||
|
||||
MYOBJS= ${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS}
|
||||
PROG= cc1obj
|
||||
@ -34,7 +34,18 @@ CHECKSUM_OBJS= ${BACKENDOBJ}/libbackend.a \
|
||||
# VER_CPPFLAGS from Makefile.inc
|
||||
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
||||
|
||||
COPTS+= -Wno-stack-protector
|
||||
COPTS.c-ada-spec.c+= -Wno-stack-protector
|
||||
COPTS.c-aux-info.c+= -Wno-stack-protector
|
||||
COPTS.c-common.c+= -Wno-stack-protector
|
||||
COPTS.c-cppbuiltin.c+= -Wno-stack-protector
|
||||
COPTS.c-format.c+= -Wno-stack-protector
|
||||
COPTS.c-lex.c+= -Wno-stack-protector
|
||||
COPTS.c-ppoutput.c+= -Wno-stack-protector
|
||||
COPTS.c-pragma.c+= -Wno-stack-protector
|
||||
COPTS.c-typeck.c+= -Wno-stack-protector
|
||||
COPTS.objc-act.c+= -Wno-stack-protector
|
||||
COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector
|
||||
COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector
|
||||
|
||||
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
||||
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
||||
|
4
external/gpl3/gcc/usr.bin/cpp/Makefile
vendored
4
external/gpl3/gcc/usr.bin/cpp/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/22 17:57:48 tron Exp $
|
||||
|
||||
PROG= cpp
|
||||
SRCS= cppspec.c ${G_GCC_OBJS:.o=.c}
|
||||
@ -26,6 +26,8 @@ DPADD+= ${LIBINTL}
|
||||
|
||||
.include <bsd.info.mk>
|
||||
|
||||
COPTS.gcc.c= -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
|
||||
|
||||
cpp.info: gcc-vers.texi
|
||||
|
4
external/gpl3/gcc/usr.bin/g++/Makefile
vendored
4
external/gpl3/gcc/usr.bin/g++/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2014/03/01 10:00:49 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2014/03/22 17:57:48 tron Exp $
|
||||
|
||||
PROG= gplusplus
|
||||
PROGNAME= g++
|
||||
@ -20,4 +20,6 @@ DPADD+= ${LIBINTL}
|
||||
|
||||
.include "../Makefile.frontend"
|
||||
|
||||
COPTS.gcc.c= -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${DIST}/gcc/cp
|
||||
|
4
external/gpl3/gcc/usr.bin/gcc/Makefile
vendored
4
external/gpl3/gcc/usr.bin/gcc/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2014/03/01 10:00:49 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2014/03/22 17:57:48 tron Exp $
|
||||
|
||||
PROG= gcc
|
||||
SRCS= gccspec.c ${G_GCC_OBJS:.o=.c}
|
||||
@ -26,6 +26,8 @@ DPADD+= ${LIBINTL}
|
||||
|
||||
.include <bsd.info.mk>
|
||||
|
||||
COPTS.gcc.c= -Wno-stack-protector
|
||||
|
||||
.PATH: ${DIST}/gcc ${DIST}/gcc/doc ${DIST}/gcc/c
|
||||
|
||||
gcc.info: gcc-vers.texi
|
||||
|
Loading…
Reference in New Issue
Block a user