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 to build on Linux
details: https://anonhg.NetBSD.org/pkgsrc/rev/622ade88519d
branches: trunk
changeset: 422394:622ade88519d
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 25 20:31:39 2020 +0000
description:
lang/gcc9: try to build on Linux
diffstat:
lang/gcc9/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 935b4b0a7d06 -r 622ade88519d lang/gcc9/Makefile
--- a/lang/gcc9/Makefile Sat Jan 25 20:29:11 2020 +0000
+++ b/lang/gcc9/Makefile Sat Jan 25 20:31:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/01/25 20:29:11 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2020/01/25 20:31:39 rillig Exp $
GCC9_VERSION= 9.2.0
@@ -58,7 +58,8 @@
# compute_powtab.c: In function 'mpn_compute_powtab_mul':
# compute_powtab.c:142:3: error: 'for' loop initial declarations are only allowed in C99 mode
# for (long pi = start_idx; pi >= 0; pi--)
-NOT_FOR_PLATFORM+= Linux-*-x86_64
+#NOT_FOR_PLATFORM+= Linux-*-x86_64
+CFLAGS.Linux+= -std=gnu99
# The build and target host is x86_64-sun-solaris2.11.
# It still fails to compile some seemingly linux-specific code.
Home |
Main Index |
Thread Index |
Old Index