diff options
author | Todd Zullinger <tmz@pobox.com> | 2022-08-01 19:50:49 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2022-08-01 19:56:37 -0400 |
commit | 79170ad8583966d3904879515d9348af459f2cba (patch) | |
tree | 414f7c1a5b2abfb1525a77568ac91aa1af230ff6 /cgit-1.2.3-update-to-git-2.34.1.patch | |
parent | e9b900313b40c9c87eb00b8fffe9af838c1d33b2 (diff) | |
download | cgit_EL6-79170ad8583966d3904879515d9348af459f2cba.tar.gz |
set path to linker script in %_package_note_file
The package-notes feature¹ creates a linker script in %{buildsubdir}.
Unfortunately, %{buildsubdir} is not set in %prep, leaving us with an
incorrect path to the linker script. The build then fails with:
/usr/bin/ld: cannot open linker script file
/builddir/build/BUILD/.package_note-git-2.35.0-0.2.rc2.fc36.3.x86_64.ld:
No such file or directory
Set the path to the linker script via %_package_note_file, per
suggestion by Zbigniew Jędrzejewski-Szmek².
References:
¹ https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
² https://bugzilla.redhat.com/2044028#c10
Diffstat (limited to 'cgit-1.2.3-update-to-git-2.34.1.patch')
0 files changed, 0 insertions, 0 deletions