From: Michael Jeanson Date: Thu, 29 Oct 2020 05:48:56 +0000 (-0400) Subject: fix: pass the detected CFLAGS to the C++ compiler X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-ust.git;a=commitdiff_plain;h=0402284861ef6417ebdb828647adee6b904aa21c fix: pass the detected CFLAGS to the C++ compiler Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I8f76c87c1acb772d93292ca36bd9b7d56a147b5e --- diff --git a/configure.ac b/configure.ac index 17f6688e..1aec6d06 100644 --- a/configure.ac +++ b/configure.ac @@ -485,6 +485,9 @@ _AC_DEFINE_AND_SUBST([LTTNG_UST_DEFAULT_CONSTRUCTOR_TIMEOUT_MS], [3000]) AM_CFLAGS="-Wall $URCU_CFLAGS $PTHREAD_CFLAGS" AC_SUBST(AM_CFLAGS) +AM_CXXFLAGS="$AM_CFLAGS" +AC_SUBST(AM_CXXFLAGS) + # The order in which the include folders are searched is important. # The top_builddir should always be searched first in the event that a build # time generated file is included.