fix ! inject_optflags case
This commit is contained in:
parent
4a85b930ef
commit
050c66cc9d
@ -485,7 +485,7 @@ export MAKEFLAGS="%{?_smp_mflags}"
|
|||||||
%if ! 0%{?inject_optflags}
|
%if ! 0%{?inject_optflags}
|
||||||
# ensure qmake build using optflags (which can happen if not munging qmake.conf defaults)
|
# ensure qmake build using optflags (which can happen if not munging qmake.conf defaults)
|
||||||
make clean
|
make clean
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} -C qmake \
|
||||||
QMAKE_CFLAGS_RELEASE="${CFLAGS:-$RPM_OPT_FLAGS}" \
|
QMAKE_CFLAGS_RELEASE="${CFLAGS:-$RPM_OPT_FLAGS}" \
|
||||||
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-$RPM_OPT_FLAGS}" \
|
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-$RPM_OPT_FLAGS}" \
|
||||||
QMAKE_LFLAGS_RELEASE="${LDFLAGS:-$RPM_LD_FLAGS}" \
|
QMAKE_LFLAGS_RELEASE="${LDFLAGS:-$RPM_LD_FLAGS}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user