fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30060 )
Change subject: trxcon: configure.ac: call LT_INIT after setting CFLAGS ......................................................................
trxcon: configure.ac: call LT_INIT after setting CFLAGS
If $CFLAGS is empty prior to calling the LT_INIT, this macro will set $CFLAGS to "-g -O2". We don't want implicit flags out of nowhere, so let's simply move the invocation of LT_INIT down below.
Change-Id: I8d8eb1e3428ffcb84ddd53230fada39328337d15 Related: OS#5749 --- M src/host/trxcon/configure.ac 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Hoernchen: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/host/trxcon/configure.ac b/src/host/trxcon/configure.ac index 554caab..6508689 100644 --- a/src/host/trxcon/configure.ac +++ b/src/host/trxcon/configure.ac @@ -1,7 +1,6 @@ dnl Process this file with autoconf to produce a configure script AC_INIT([trxcon], [0.0.0]) AM_INIT_AUTOMAKE -LT_INIT
CFLAGS="$CFLAGS -std=gnu11"
@@ -21,6 +20,9 @@ dnl checks for header files AC_HEADER_STDC
+dnl init libtool +LT_INIT + AC_ARG_ENABLE(sanitize, [AS_HELP_STRING( [--enable-sanitize],