forked from Imagelibrary/rtems
Sync with cvs-HEAD.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
%if %build_newlib
|
||||
--enable-newlib-io-c99-formats \
|
||||
%endif
|
||||
--enable-languages="$languages" $optargs
|
||||
--enable-languages="$languages"
|
||||
|
||||
%if "%_host" != "%_build"
|
||||
# Bug in gcc-3.2.1:
|
||||
|
||||
@@ -81,9 +81,6 @@ BuildRequires: zlib-devel
|
||||
BuildRequires: gcc-gnat
|
||||
BuildRequires: @rpmprefix@@tool_target@-newlib < %{newlib_version}-@NEWLIB_RPMREL@
|
||||
%endif
|
||||
%if %build_fortran
|
||||
BuildRequires: gmp-devel
|
||||
%endif
|
||||
|
||||
%global _gcclibdir %{_prefix}/lib
|
||||
|
||||
|
||||
@@ -87,21 +87,10 @@
|
||||
|
||||
rm -f dirs ;
|
||||
echo "%defattr(-,root,root,-)" >> dirs
|
||||
%if "%{_prefix}" != "/usr"
|
||||
echo "%dir %{_prefix}" >> dirs
|
||||
echo "%dir %{_libdir}" >> dirs
|
||||
%if "%{gcc_version}" >= "3.4"
|
||||
echo "%dir %{_libexecdir}" >> dirs
|
||||
%endif
|
||||
%endif
|
||||
echo "%dir %{_gcclibdir}/gcc" >> dirs
|
||||
echo "%dir %{_gcclibdir}/gcc/@tool_target@" >> dirs
|
||||
|
||||
TGTDIR="%{_gcclibdir}/gcc/@tool_target@/%{gcc_version}"
|
||||
for i in $multilibs; do
|
||||
case $i in
|
||||
\.) echo "%dir ${TGTDIR}" >> dirs
|
||||
;;
|
||||
\.) ;; # ignore, handled elsewhere
|
||||
*) echo "%dir ${TGTDIR}/$i" >> dirs
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user