Module Name: src
Committed By: tron
Date: Wed Jun 4 19:07:22 UTC 2014
Modified Files:
src/external/gpl3/gcc/lib/libgomp: Makefile
Log Message:
Fix build with stack smash protection enabled.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/lib/libgomp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libgomp/Makefile
diff -u src/external/gpl3/gcc/lib/libgomp/Makefile:1.12 src/external/gpl3/gcc/lib/libgomp/Makefile:1.13
--- src/external/gpl3/gcc/lib/libgomp/Makefile:1.12 Sun Jun 1 19:51:01 2014
+++ src/external/gpl3/gcc/lib/libgomp/Makefile Wed Jun 4 19:07:22 2014
@@ -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 @@ CPPFLAGS+= \
-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 @@ libinstall::
.include <bsd.lib.mk>
+COPTS+= -Wno-stack-protector
+
.PATH: ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix