aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-01-27 17:44:30 +0100
committerosmith <osmith@sysmocom.de>2021-01-28 09:28:22 +0000
commita666f713ecedf97efe1b76ad0f32c13cc209bcec (patch)
tree4cb58c7da4e5e7dea41f1a498ac29aabc4aaf303
parentf7cf5e2612b8fab744b9c169f0a3a962201b475d (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 58a7e38e..249a81a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,8 @@ AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2])
AC_CONFIG_TESTDIR(tests)
+CFLAGS="$CFLAGS -std=gnu11"
+
dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])