pass QMAKE_*_RELEASE to configure to ensure optflags get used (#1505260)
This commit is contained in:
parent
e724321967
commit
16ef8031d1
|
@ -55,7 +55,7 @@ BuildRequires: pkgconfig(libsystemd)
|
|||
Name: qt5-qtbase
|
||||
Summary: Qt5 - QtBase components
|
||||
Version: 5.9.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
|
@ -465,7 +465,10 @@ export MAKEFLAGS="%{?_smp_mflags}"
|
|||
%{?xkbcommon} \
|
||||
-system-zlib \
|
||||
%{?use_gold_linker} \
|
||||
-no-directfb
|
||||
-no-directfb \
|
||||
QMAKE_CFLAGS_RELEASE="${CFLAGS:-$RPM_OPT_FLAGS}" \
|
||||
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:-$RPM_OPT_FLAGS}" \
|
||||
QMAKE_LFLAGS_RELEASE="${LDFLAGS:-$RPM_LD_FLAGS}"
|
||||
|
||||
%if ! 0%{?inject_optflags}
|
||||
# ensure qmake build using optflags (which can happen if not munging qmake.conf defaults)
|
||||
|
@ -965,6 +968,9 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 23 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-3
|
||||
- pass QMAKE_*_RELEASE to configure to ensure optflags get used (#1505260)
|
||||
|
||||
* Thu Oct 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
|
||||
- refresh mariadb patch support (upstreamed version apparently incomplete)
|
||||
|
||||
|
|
Loading…
Reference in New Issue