fixeria has uploaded this change for review.
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/60/30060/1
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],
To view, visit change 30060. To unsubscribe, or for help writing mail filters, visit settings.