Fix build with stack smash protection enabled.
This commit is contained in:
parent
fa6db268de
commit
84030af9c0
4
external/gpl3/gcc/lib/libgcc/libgcc/Makefile
vendored
4
external/gpl3/gcc/lib/libgcc/libgcc/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2011/10/17 14:20:54 chs Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2011/10/22 10:41:50 tron Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
@ -41,6 +41,8 @@ BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/rs6000/${file:S/.S$/.asm/} ${file}
|
||||
# the -fpic/-FPIC present in ${G_LIBGCC2_CFLAGS}.
|
||||
MKPIC:= no
|
||||
|
||||
COPTS.unwind-dw2.c = -Wno-stack-protector
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user