forked from Imagelibrary/rtems
More libiberty tweaks
This commit is contained in:
@@ -24,11 +24,12 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# host library
|
# host library
|
||||||
%if "%{gcc_version}" >= "4.3.0"
|
%if "%{gcc_version}" >= "4.2.0"
|
||||||
# libiberty doesn't honor --libdir, but always installs to _libdir
|
# libiberty doesn't honor --libdir, but always installs to a
|
||||||
|
# magically guessed _libdir
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
|
||||||
%else
|
%else
|
||||||
# libiberty install to --libdir=...
|
# libiberty installs to --libdir=...
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
|
rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user