Add -lstdc++ to ldflags

This commit is contained in:
Andrey Bondrov 2020-06-22 12:57:33 +10:00
parent baa18bb237
commit 2e597851f8

View file

@ -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}