Change-Id: Idbad48052e76e03f5036e4ae8c88534899447264
export LIBBABELTRACE2_PLUGIN_PROVIDER_DIR="$DEPS_LIB/babeltrace2/plugin-providers/"
export CFLAGS="-g -O2"
+export CXXFLAGS="-g -O2"
# Set compiler variables
case "$cc" in
;;
esac
+# The missing-field-initializers warning code is very dumb in GCC 4.8 on
+# SLES12, disable it even if it's available.
+if [ "$arch" = "sles12sp5" ]; then
+ CFLAGS="$CFLAGS -Wno-missing-field-initializers"
+ CXXFLAGS="$CXXFLAGS -Wno-missing-field-initializers"
+fi
+
case "$test_type" in
full)
LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION="yes"