Honor CXXFLAGS / LDFLAGS

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1548749
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-03-02 09:31:28 +01:00
parent 792e92b385
commit 309f7dd88b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -62,7 +62,7 @@
Name: mesa Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Version: 18.0.0 Version: 18.0.0
Release: 0.2%{?rctag:.%{rctag}}%{?dist} Release: 0.3%{?rctag:.%{rctag}}%{?dist}
License: MIT License: MIT
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -391,8 +391,8 @@ autoreconf -vfi
# #
# We do say 'catch' in the clover and d3d1x state trackers, but we're not # We do say 'catch' in the clover and d3d1x state trackers, but we're not
# building those yet. # building those yet.
export CXXFLAGS="%{?with_opencl:-frtti -fexceptions} %{!?with_opencl:-fno-rtti -fno-exceptions}" export CXXFLAGS="%{build_cxxflags} %{?with_opencl:-frtti -fexceptions} %{!?with_opencl:-fno-rtti -fno-exceptions}"
export LDFLAGS="-static-libstdc++" export LDFLAGS="%{build_ldflags} -static-libstdc++"
%ifarch %{ix86} %ifarch %{ix86}
# i do not have words for how much the assembly dispatch code infuriates me # i do not have words for how much the assembly dispatch code infuriates me
%global asm_flags --disable-asm %global asm_flags --disable-asm
@ -696,6 +696,9 @@ popd
%endif %endif
%changelog %changelog
* Fri Mar 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 18.0.0-0.3.rc4
- Honor CXXFLAGS / LDFLAGS
* Mon Feb 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 18.0.0-0.2.rc4 * Mon Feb 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 18.0.0-0.2.rc4
- Backport patch to fix video corruption - Backport patch to fix video corruption