diff --git a/libreoffice.spec b/libreoffice.spec index 03cd9a1..0fa65ee 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -50,7 +50,7 @@ Summary: Office suite Name: libreoffice Epoch: 1 Version: 6.3.5 -Release: 8 +Release: 9 License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic Group: Office Url: http://www.libreoffice.org @@ -908,6 +908,10 @@ export PATH export CCACHE_DIR=%{ccachedir} %endif +%if %{without clang} +%global ldflags %{ldflags} -lstdc++ +%endif + %setup_compile_flags %if %{with clang}