From 0402284861ef6417ebdb828647adee6b904aa21c Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 29 Oct 2020 01:48:56 -0400 Subject: [PATCH] fix: pass the detected CFLAGS to the C++ compiler Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I8f76c87c1acb772d93292ca36bd9b7d56a147b5e --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.34.1