aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-01-27 17:33:28 +0100
committerOliver Smith <osmith@sysmocom.de>2021-01-27 17:33:28 +0100
commit6d0fe5b1d5b45bcf577a3d62063eba59c9a9cc4a (patch)
tree0440cfcdc2ee1aa691b25689f733e6d8921ef640
parentbd775e4adbfdd95bde42e9a872356ec89ac52d34 (diff)
configure.ac: set -std=gnu11
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4c0e0b4..36c2f49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,8 @@ AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([subdir-objects dist-bzip2])
AC_CONFIG_TESTDIR(tests)
+CFLAGS="$CFLAGS -std=gnu11"
+
dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])