Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgomp Fix build with stack smash pro...



details:   https://anonhg.NetBSD.org/src/rev/a079e35563b4
branches:  trunk
changeset: 796461:a079e35563b4
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jun 04 19:07:22 2014 +0000

description:
Fix build with stack smash protection enabled.

diffstat:

 external/gpl3/gcc/lib/libgomp/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d96ec8de1564 -r a079e35563b4 external/gpl3/gcc/lib/libgomp/Makefile
--- a/external/gpl3/gcc/lib/libgomp/Makefile    Wed Jun 04 18:19:20 2014 +0000
+++ b/external/gpl3/gcc/lib/libgomp/Makefile    Wed Jun 04 19:07:22 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2014/06/01 19:51:01 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2014/06/04 19:07:22 tron Exp $
 
 # build GCC's libgomp, so that -fopenmp works.
 
@@ -50,8 +50,6 @@
        -I${ARCHDIR}
 CFLAGS+=-pthread
 
-COPTS+=        -Wno-stack-protector
-
 CWARNFLAGS.clang+=     -Wno-conversion
 
 # libgomp is 1.0 is in GCC 4.5, and 1.1 in 4.8 since it added more symbols
@@ -75,4 +73,6 @@
 
 .include <bsd.lib.mk>
 
+COPTS+=        -Wno-stack-protector
+
 .PATH: ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix



Home | Main Index | Thread Index | Old Index