fix: pass the detected CFLAGS to the C++ compiler
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 29 Oct 2020 05:48:56 +0000 (01:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Oct 2020 15:28:25 +0000 (11:28 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8f76c87c1acb772d93292ca36bd9b7d56a147b5e

configure.ac

index 17f6688e35b47515bda6eff4f440da861524e123..1aec6d061f6e92e4fc9b7f74363c42a2d701784b 100644 (file)
@@ -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.
This page took 0.025142 seconds and 4 git commands to generate.