daniel has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/21913 )

Change subject: configure.ac: define a c standard instead of using the 
compilers default
......................................................................

configure.ac: define a c standard instead of using the compilers default

Change-Id: I9867adbed211db0a7b42ac3557f56c3042a67936
---
M configure.ac
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  zecke: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/configure.ac b/configure.ac
index 0c8a73f..f1a4ed4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,9 @@
        AC_MSG_ERROR([Please install autoconf-archive; re-run 'autoreconf -fi' 
for it to take effect.])
        ])

+dnl use a defined standard across all builds and don't depend on compiler 
default
+CFLAGS="$CFLAGS -std=gnu11"
+
 dnl checks for libraries
 AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DL="$LIBS";LIBS=""])
 AC_SUBST(LIBRARY_DL)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/21913
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I9867adbed211db0a7b42ac3557f56c3042a67936
Gerrit-Change-Number: 21913
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillm...@sysmocom.de>
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: zecke <hol...@freyther.de>
Gerrit-MessageType: merged

Reply via email to