Change in osmo-sgsn[master]: configure.ac: define a c standard instead of using the compilers default

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Fri Jan 8 02:32:33 UTC 2021


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 <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: zecke <holger at freyther.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210108/dca0afff/attachment.htm>


More information about the gerrit-log mailing list