bug-hurd
[Top][All Lists]
Advanced

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

[PATCH] mig: explicitly use -std=gnu11


From: Flavio Cruz
Subject: [PATCH] mig: explicitly use -std=gnu11
Date: Wed, 23 Nov 2022 00:10:10 -0500

Latest GCC will pick up gnu17 by default but gnu11 will be better supported 
with older compilers.
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index 918efa1..a528b85 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@
 libexec_PROGRAMS = migcom
 bin_SCRIPTS = mig
 
+AM_CFLAGS = -std=gnu11
 AM_YFLAGS = -d
 
 EXTRA_DIST = gensym.awk cpu.sym
-- 
2.37.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]