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
1 changed files with 2 additions and 2 deletions

View File

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