fix ! inject_optflags case

This commit is contained in:
Rex Dieter 2016-05-08 06:01:11 -05:00
parent 4a85b930ef
commit 050c66cc9d
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ export MAKEFLAGS="%{?_smp_mflags}"
%if ! 0%{?inject_optflags}
# ensure qmake build using optflags (which can happen if not munging qmake.conf defaults)
make clean
make %{?_smp_mflags} \
make %{?_smp_mflags} -C qmake \
QMAKE_CFLAGS_RELEASE="${CFLAGS:-$RPM_OPT_FLAGS}" \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-$RPM_OPT_FLAGS}" \
QMAKE_LFLAGS_RELEASE="${LDFLAGS:-$RPM_LD_FLAGS}" \