fix build with new C++ compilers

OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=31
This commit is contained in:
Dirk Stoecker 2020-10-02 08:11:04 +00:00 committed by Git OBS Bridge
parent 17c6c76bbf
commit 19b753afbb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 2 08:10:59 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- fix build with new C++ compilers
-------------------------------------------------------------------
Thu Aug 20 09:03:01 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -60,7 +60,7 @@ aspects, e.g. modelling of machine parts.
%setup -q -n %{name}-%{version}
%build
qmake-qt5 PREFIX=%{_prefix} QMAKE_CXXFLAGS="%{optflags}" CONFIG+=qopenglwidget
qmake-qt5 PREFIX=%{_prefix} QMAKE_CXXFLAGS="%{optflags}" CONFIG+=qopenglwidget CONFIG+=c++14
make %{?_smp_mflags}
%install