pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc9 lang/gcc9: try once more to make the Linux b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f646f37ea6cc
branches:  trunk
changeset: 410728:f646f37ea6cc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 28 04:39:55 2020 +0000

description:
lang/gcc9: try once more to make the Linux build succeed

diffstat:

 lang/gcc9/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r f93a4a5f4915 -r f646f37ea6cc lang/gcc9/Makefile
--- a/lang/gcc9/Makefile        Tue Jan 28 04:02:34 2020 +0000
+++ b/lang/gcc9/Makefile        Tue Jan 28 04:39:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/28 04:02:34 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2020/01/28 04:39:55 rillig Exp $
 
 GCC9_VERSION=  9.2.0
 
@@ -60,6 +60,9 @@
 #    for (long pi = start_idx; pi >= 0; pi--)
 #BROKEN_ON_PLATFORM+=  Linux-*-x86_64
 CFLAGS.Linux+=         -std=gnu99
+# I know that -std is not a preprocessor flag, but gcc9 ignores the CFLAGS,
+# for whatever reason.
+CPPFLAGS.Linux+=       -std=gnu99
 
 # Even though the build and target host is x86_64-sun-solaris2.11,
 # it fails to compile some seemingly linux-specific code.



Home | Main Index | Thread Index | Old Index