Rename gcc plugin directory to gcc-plugin.
Stop annocheck from complaining about missing options when the binary has been built in a mixed environment.
This commit is contained in:
parent
46ef9ab08d
commit
fd8169aaee
1
.gitignore
vendored
1
.gitignore
vendored
@ -128,3 +128,4 @@
|
|||||||
/annobin-9.10.tar.xz
|
/annobin-9.10.tar.xz
|
||||||
/annobin-9.11.tar.xz
|
/annobin-9.11.tar.xz
|
||||||
/annobin-9.12.tar.xz
|
/annobin-9.12.tar.xz
|
||||||
|
/annobin-9.13.tar.xz
|
||||||
|
16
annobin.spec
16
annobin.spec
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
Name: annobin
|
Name: annobin
|
||||||
Summary: Annotate and examine compiled binary files
|
Summary: Annotate and examine compiled binary files
|
||||||
Version: 9.12
|
Version: 9.13
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
||||||
# Maintainer: nickc@redhat.com
|
# Maintainer: nickc@redhat.com
|
||||||
@ -182,7 +182,7 @@ echo "Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next})"
|
|||||||
# The plugin has to be configured with the same arcane configure
|
# The plugin has to be configured with the same arcane configure
|
||||||
# scripts used by gcc. Hence we must not allow the Fedora build
|
# scripts used by gcc. Hence we must not allow the Fedora build
|
||||||
# system to regenerate any of the configure files.
|
# system to regenerate any of the configure files.
|
||||||
touch aclocal.m4 plugin/config.h.in
|
touch aclocal.m4 gcc-plugin/config.h.in
|
||||||
touch configure */configure Makefile.in */Makefile.in
|
touch configure */configure Makefile.in */Makefile.in
|
||||||
# Similarly we do not want to rebuild the documentation.
|
# Similarly we do not want to rebuild the documentation.
|
||||||
touch doc/annobin.info
|
touch doc/annobin.info
|
||||||
@ -204,12 +204,12 @@ touch doc/annobin.info
|
|||||||
# double annotations in it. (If the build system enables annotations
|
# double annotations in it. (If the build system enables annotations
|
||||||
# for plugins by default). I have not tested this yet, but I think
|
# for plugins by default). I have not tested this yet, but I think
|
||||||
# that it should be OK.
|
# that it should be OK.
|
||||||
cp plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so
|
cp gcc-plugin/.libs/annobin.so.0.0.0 %{_tmppath}/tmp_annobin.so
|
||||||
make -C plugin clean
|
make -C gcc-plugin clean
|
||||||
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so -fplugin-arg-tmp_annobin-rename"
|
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so -fplugin-arg-tmp_annobin-rename"
|
||||||
# If building on RHEL7, enable the next option as the .attach_to_group assembler pseudo op is not available in the assembler.
|
# If building on RHEL7, enable the next option as the .attach_to_group assembler pseudo op is not available in the assembler.
|
||||||
# BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach"
|
# BUILD_FLAGS="$BUILD_FLAGS -fplugin-arg-tmp_annobin-no-attach"
|
||||||
make -C plugin CXXFLAGS="%{optflags} $BUILD_FLAGS"
|
make -C gcc-plugin CXXFLAGS="%{optflags} $BUILD_FLAGS"
|
||||||
rm %{_tmppath}/tmp_annobin.so
|
rm %{_tmppath}/tmp_annobin.so
|
||||||
|
|
||||||
%if %{with clangplugin}
|
%if %{with clangplugin}
|
||||||
@ -276,6 +276,10 @@ fi
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.13-1
|
||||||
|
- Rename gcc plugin directory to gcc-plugin.
|
||||||
|
- Stop annocheck from complaining about missing options when the binary has been built in a mixed environment.
|
||||||
|
|
||||||
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-3
|
* Thu Mar 12 2020 Nick Clifton <nickc@redhat.com> - 9.12-3
|
||||||
- And again, this time with annotation enabled. (#1810941)
|
- And again, this time with annotation enabled. (#1810941)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (annobin-9.12.tar.xz) = cfe9d67ebf53816932310f1f686b4d94554506488c217870c5c440d2d1f8cb3a757f96c07e373540f2358c4e1adcf432b746c6936c237f7b44769993210bc8aa
|
SHA512 (annobin-9.13.tar.xz) = e5f989f0b7e9a457a25c2fae68c5ec465fe089cc4983d0249d3c87a0ff3adf1a00f66bfd330235810387be2fb7484bb69d0c01c45d5cf9673490e829d4c8e737
|
||||||
|
Loading…
Reference in New Issue
Block a user