summaryrefslogtreecommitdiff
path: root/lang/gcc9
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-01-25 20:31:39 +0000
committerrillig <rillig@pkgsrc.org>2020-01-25 20:31:39 +0000
commit8cd00f64c4f9e16746cc7f1ab2a44d947d0534f3 (patch)
treedac53f396107961dcfdf29a2085f66f8e7ca4f46 /lang/gcc9
parent43205abc96f8a3b1eed6237341927d20ca2895a0 (diff)
downloadpkgsrc-8cd00f64c4f9e16746cc7f1ab2a44d947d0534f3.tar.gz
lang/gcc9: try to build on Linux
Diffstat (limited to 'lang/gcc9')
-rw-r--r--lang/gcc9/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile
index e4521d20c1b..17af282f437 100644
--- a/lang/gcc9/Makefile
+++ b/lang/gcc9/Makefile
@@ -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 @@ CHECK_PORTABILITY_SKIP= contrib/download_prerequisites
# 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.