Fix %set_build_flags when %_generate_package_note_file is not defined
This commit is contained in:
parent
357f950c28
commit
a87ba4ab1c
2
macros
2
macros
@ -80,7 +80,7 @@
|
|||||||
# been set implicitly at the start of the %%build section.
|
# been set implicitly at the start of the %%build section.
|
||||||
# LT_SYS_LIBRARY_PATH is used by libtool script.
|
# LT_SYS_LIBRARY_PATH is used by libtool script.
|
||||||
%set_build_flags \
|
%set_build_flags \
|
||||||
%{?_generate_package_note_file} ; \
|
%{?_generate_package_note_file:%{_generate_package_note_file} ; } \
|
||||||
CFLAGS="${CFLAGS:-%{build_cflags}}" ; export CFLAGS ; \
|
CFLAGS="${CFLAGS:-%{build_cflags}}" ; export CFLAGS ; \
|
||||||
CXXFLAGS="${CXXFLAGS:-%{build_cxxflags}}" ; export CXXFLAGS ; \
|
CXXFLAGS="${CXXFLAGS:-%{build_cxxflags}}" ; export CXXFLAGS ; \
|
||||||
FFLAGS="${FFLAGS:-%{build_fflags}}" ; export FFLAGS ; \
|
FFLAGS="${FFLAGS:-%{build_fflags}}" ; export FFLAGS ; \
|
||||||
|
@ -194,6 +194,8 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
* Thu Jan 20 2022 Miro Hrončok <mhroncok@redhat.com> - 210-1
|
* Thu Jan 20 2022 Miro Hrončok <mhroncok@redhat.com> - 210-1
|
||||||
- Remove package ELF note from the extension LDFLAGS
|
- Remove package ELF note from the extension LDFLAGS
|
||||||
- Related: rhbz#2043092
|
- Related: rhbz#2043092
|
||||||
|
- Fix %%set_build_flags when %%_generate_package_note_file is not defined
|
||||||
|
- Fixes: rhbz#2043166
|
||||||
|
|
||||||
* Thu Jan 13 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 209-1
|
* Thu Jan 13 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 209-1
|
||||||
- Add package ELF note to the default LDFLAGS
|
- Add package ELF note to the default LDFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user