AM_CONDITIONAL(ENABLE_INBAND, [test "x$enable_inband" = "xyes"])
+AC_ARG_ENABLE([static_libstdcpp],
+ AS_HELP_STRING([--enable-static-libstdcpp], [Enable link static to libstdc++]))
+
+AS_IF([test "x$enable_static_libstdcpp" = "xyes"], [
+ CXXFLAGS="$CXXFLAGS -static-libstdc++"
+])
+
CFLAGS="$CFLAGS -Werror -DMST_UL"
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
%endif
%if %{buildtype} == "ppc64"
- config_flags="$config_flags --host=ppc64-linux"
+ config_flags="$config_flags --host=ppc64-linux --enable-static-libstdcpp=yes"
%endif
%if %{buildtype} == "ppc64le"