From 69dfe5aeec3d2e08baa033309ac4b84712367ac6 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sat, 17 Jun 2017 23:18:11 +0200 Subject: Fix compilation warning on deprecated macro A warning was printed even if the deprecation didn't apply to libosmocore because it is still allowed to use it internally. This patch fixes this case while still printing a warning if external projects build using libosmocore headers. Change-Id: I32212f20756f828af1017482a71e29e4b3adbad4 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 04d126e2..340a8965 100644 --- a/configure.ac +++ b/configure.ac @@ -235,6 +235,9 @@ then CPPFLAGS+=" -fsanitize=address -fsanitize=undefined" fi +CFLAGS+=" -DBUILDING_LIBOSMOCORE" +CPPFLAGS+=" -DBUILDING_LIBOSMOCORE" + AC_ARG_ENABLE(simd, [AS_HELP_STRING( [--disable-simd], -- cgit v1.2.3