fix: pass the detected CFLAGS to the C++ compiler
[deliverable/lttng-ust.git] / 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.027156 seconds and 5 git commands to generate.