Enable annobin for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
5d2ab3509e
commit
48413fb969
6
macros
6
macros
|
@ -207,7 +207,7 @@
|
||||||
# Add extra information to binary objects created by gcc for Fedora 28:
|
# Add extra information to binary objects created by gcc for Fedora 28:
|
||||||
# https://pagure.io/fesco/issue/1780 (accepted on 2017-10-30)
|
# https://pagure.io/fesco/issue/1780 (accepted on 2017-10-30)
|
||||||
# Use "%undefine _annotated_build" to disable.
|
# Use "%undefine _annotated_build" to disable.
|
||||||
#_annotated_build 1
|
%_annotated_build 1
|
||||||
%_annotated_cflags %{?_annotated_build:%{_annobin_cflags}}
|
%_annotated_cflags %{?_annotated_build:%{_annobin_cflags}}
|
||||||
|
|
||||||
# Fail linking if there are undefined symbols. Required for proper
|
# Fail linking if there are undefined symbols. Required for proper
|
||||||
|
@ -255,10 +255,6 @@
|
||||||
# bootstrapping Fedora RISC-V
|
# bootstrapping Fedora RISC-V
|
||||||
%__spec_check_pre exit 0
|
%__spec_check_pre exit 0
|
||||||
|
|
||||||
# disable annonbin for Fedora RISC-V until we test and provide support
|
|
||||||
#undefine _annotated_build
|
|
||||||
# this is actually done above, but this is left as reminder/TODO
|
|
||||||
|
|
||||||
# disable debug packages as we don't have gdb-add-index
|
# disable debug packages as we don't have gdb-add-index
|
||||||
# GDB is not yet ported on RISC-V to support Linux targets
|
# GDB is not yet ported on RISC-V to support Linux targets
|
||||||
%_enable_debug_packages 0
|
%_enable_debug_packages 0
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 111
|
Version: 111
|
||||||
Release: 1.1.riscv64%{?dist}
|
Release: 1.2.riscv64%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
|
@ -97,7 +97,7 @@ Requires: qt5-srpm-macros
|
||||||
Requires: rpm >= 4.11.0
|
Requires: rpm >= 4.11.0
|
||||||
Requires: dwz >= 0.4
|
Requires: dwz >= 0.4
|
||||||
Requires: zip
|
Requires: zip
|
||||||
#Requires: (annobin if gcc)
|
Requires: (annobin if gcc)
|
||||||
|
|
||||||
# for brp-mangle-shebangs
|
# for brp-mangle-shebangs
|
||||||
Requires: %{_bindir}/find
|
Requires: %{_bindir}/find
|
||||||
|
@ -184,6 +184,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 06 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 111-1.2.riscv64
|
||||||
|
- Enable annobin for riscv64 (finally built, but untested)
|
||||||
|
|
||||||
* Sat May 05 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 111-1.1.riscv64
|
* Sat May 05 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 111-1.1.riscv64
|
||||||
- Remove Requires: (annobin if gcc)
|
- Remove Requires: (annobin if gcc)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue