Fix compilation on GCC 6.0
This commit is contained in:
parent
afd57421ae
commit
1bc466149d
|
@ -1,6 +1,6 @@
|
|||
Name: simspark
|
||||
Version: 0.2.4
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
Summary: Spark physical simulation system
|
||||
|
||||
Group: Development/Libraries
|
||||
|
@ -40,7 +40,7 @@ developing applications that use %{name}.
|
|||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
export CXXFLAGS="${CXXFLAGS:-%optflags}"
|
||||
export CXXFLAGS="${CXXFLAGS:-%optflags} -std=gnu++98"
|
||||
export CFLAGS="${CFLAGS:-%optflags}"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR:PATH=%{_lib} -DODE_CONFIG_EXEC=ode-double-config .. \
|
||||
-DRUBY_INCLUDE_PATH=`ruby -e 'puts File.join(RbConfig::CONFIG[%q(includedir)], RbConfig::CONFIG[%q(sitearch)])'`
|
||||
|
@ -75,6 +75,9 @@ rm -rf %{buildroot}/%{_datadir}/doc
|
|||
%doc doc/devel/howtos doc/devel/manual.pdf
|
||||
|
||||
%changelog
|
||||
* Thu Mar 03 2016 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.4-20
|
||||
- Fix compilation on GCC 6.0
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue