use %set_build_flags macro (closes #20)

This commit is contained in:
Joe Orton 2022-05-13 15:52:12 +01:00
parent 0a3bbfb33a
commit 95aba98792

View File

@ -327,8 +327,7 @@ autoheader && autoconf || exit 1
%{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \ %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \
support/apxs.in support/apxs.in
export CFLAGS=$RPM_OPT_FLAGS %set_build_flags
export LDFLAGS="-Wl,-z,relro,-z,now"
# Hard-code path to links to avoid unnecessary builddep # Hard-code path to links to avoid unnecessary builddep
export LYNX_PATH=/usr/bin/links export LYNX_PATH=/usr/bin/links
@ -834,6 +833,9 @@ exit $rv
%{_rpmconfigdir}/macros.d/macros.httpd %{_rpmconfigdir}/macros.d/macros.httpd
%changelog %changelog
* Fri May 13 2022 Joe Orton <jorton@redhat.com> - 2.4.53-5
- use %%set_build_flags macro
* Thu Apr 21 2022 Luboš Uhliarik <luhliari@redhat.com> - 2.4.53-5 * Thu Apr 21 2022 Luboš Uhliarik <luhliari@redhat.com> - 2.4.53-5
- don't use bomb.gif icon for all files/dirs ending with core - don't use bomb.gif icon for all files/dirs ending with core