Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/usr.bin/lto1 Fix build with "USE_SSP" set ...



details:   https://anonhg.NetBSD.org/src/rev/9470ab43bcc7
branches:  trunk
changeset: 335564:9470ab43bcc7
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jan 14 20:26:41 2015 +0000

description:
Fix build with "USE_SSP" set to "yes".

diffstat:

 external/gpl3/gcc/usr.bin/lto1/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4b2bb578ccee -r 9470ab43bcc7 external/gpl3/gcc/usr.bin/lto1/Makefile
--- a/external/gpl3/gcc/usr.bin/lto1/Makefile   Wed Jan 14 18:51:56 2015 +0000
+++ b/external/gpl3/gcc/usr.bin/lto1/Makefile   Wed Jan 14 20:26:41 2015 +0000
@@ -1,10 +1,13 @@
-#      $NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2015/01/14 20:26:41 tron Exp $
 
 PROG=          lto1
 SRCS=          lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c
 
 CPPFLAGS+=     -DPREFIX=\"/usr\"
 
+COPTS.lto.c+=          -Wno-stack-protector
+COPTS.lto-lang.c+=     -Wno-stack-protector
+
 .include "../Makefile.backend"
 .include "../Makefile.backtrace"
 .include "../Makefile.common"



Home | Main Index | Thread Index | Old Index