Changeset 5ec1009 in rtems


Ignore:
Timestamp:
Aug 27, 2009, 3:40:26 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
27e77c93
Parents:
3f8272d
Message:

Install to --libdir=%{_prefix}/lib instead of %{_libdir}

Location:
contrib/crossrpms/gcc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/build.add

    r3f8272d r5ec1009  
    3838    --exec_prefix=%{_exec_prefix} \
    3939    --includedir=%{_includedir} \
    40     --libdir=%{_libdir} \
     40    --libdir=%{_gcclibdir} \
    4141    --libexecdir=%{_libexecdir} \
    4242    --mandir=%{_mandir} \
  • contrib/crossrpms/gcc/gccnewlib.add

    r3f8272d r5ec1009  
    121121%endif
    122122
    123 %define gcclib %{_libdir}/gcc
     123%define _gcclibdir %{_prefix}/lib
    124124
    125125@SOURCES@
  • contrib/crossrpms/gcc/install.add

    r3f8272d r5ec1009  
    2525
    2626  # host library
    27   rm -f  ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
     27%if "%{gcc_version}" >= "4.3.0"
     28  # libiberty doesn't honor --libdir, but always installs to _libdir
     29  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
     30%else
     31  # libiberty install to --libdir=...
     32  rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
     33%endif
    2834
    2935  # We use the version from binutils
Note: See TracChangeset for help on using the changeset viewer.