Some packages like qemu need it at build time
Change-Id: I732cd429ba30c3fc28df1d40ddb4e8ca7d43368d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4962
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Contains a linker, an assembler, and other tools |
| 2 | 2 |
Name: binutils |
| 3 | 3 |
Version: 2.30 |
| 4 |
-Release: 2%{?dist}
|
|
| 4 |
+Release: 3%{?dist}
|
|
| 5 | 5 |
License: GPLv2+ |
| 6 | 6 |
URL: http://www.gnu.org/software/binutils |
| 7 | 7 |
Group: System Environment/Base |
| ... | ... |
@@ -34,6 +34,7 @@ cd ../binutils-build |
| 34 | 34 |
--enable-shared \ |
| 35 | 35 |
--disable-werror \ |
| 36 | 36 |
--with-system-zlib \ |
| 37 |
+ --enable-install-libiberty \ |
|
| 37 | 38 |
--disable-silent-rules |
| 38 | 39 |
make %{?_smp_mflags} tooldir=%{_prefix}
|
| 39 | 40 |
%install |
| ... | ... |
@@ -103,12 +104,16 @@ make %{?_smp_mflags} check
|
| 103 | 103 |
%{_includedir}/ansidecl.h
|
| 104 | 104 |
%{_includedir}/bfdlink.h
|
| 105 | 105 |
%{_includedir}/dis-asm.h
|
| 106 |
+%{_includedir}/libiberty/*
|
|
| 106 | 107 |
%{_libdir}/libbfd.a
|
| 107 | 108 |
%{_libdir}/libopcodes.a
|
| 108 | 109 |
%{_libdir}/libbfd.so
|
| 109 | 110 |
%{_libdir}/libopcodes.so
|
| 111 |
+%{_lib64dir}/libiberty.a
|
|
| 110 | 112 |
|
| 111 | 113 |
%changelog |
| 114 |
+* Mon Mar 19 2018 Alexey Makhalov <amakhalov@vmware.com> 2.30-3 |
|
| 115 |
+- Add libiberty to the -devel package |
|
| 112 | 116 |
* Wed Feb 28 2018 Xiaolin Li <xiaolinl@vmware.com> 2.30-2 |
| 113 | 117 |
- Fix CVE-2018-6543. |
| 114 | 118 |
* Mon Jan 29 2018 Xiaolin Li <xiaolinl@vmware.com> 2.30-1 |