Use CCFLAGS; looks like CXXFLAGS is only available on rawhide.

This commit is contained in:
Link Dupont 2016-12-31 22:20:44 -08:00
parent 869f775e6b
commit 9b26a324e4

View File

@ -53,7 +53,7 @@ Images, sound, and game data for %{name}.
%build %build
CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" \ CCFLAGS="${CCFLAGS:-%__global_cflags}" \
LDFLAGS="${LDFLAGS:-%__global_ldflags}" \ LDFLAGS="${LDFLAGS:-%__global_ldflags}" \
%{_bindir}/scons \ %{_bindir}/scons \
%{?_smp_mflags} \ %{?_smp_mflags} \
@ -66,7 +66,7 @@ desktop-file-validate %{name}.desktop
%install %install
CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" \ CCFLAGS="${CCFLAGS:-%__global_cflags}" \
LDFLAGS="${LDFLAGS:-%__global_ldflags}" \ LDFLAGS="${LDFLAGS:-%__global_ldflags}" \
%{_bindir}/scons \ %{_bindir}/scons \
%{?_smp_mflags} \ %{?_smp_mflags} \