Use CCFLAGS; looks like CXXFLAGS is only available on rawhide.
This commit is contained in:
parent
869f775e6b
commit
9b26a324e4
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user