Changeset d35b77f in rtems


Ignore:
Timestamp:
Nov 25, 2002, 3:24:05 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f7e1564
Parents:
e4eb1be
Message:

2002-11-25 Ralf Corsepius <corsepiu@…>

  • gcc3newlib/gccnewlib.add: Remove *.la's to make rpm-4.1/RH-8.0 happy. Remove libiberty.a to make rpm-4.1/RH-8.0 happy. Change gcc/version.c to reflect us having patched gcc.
Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    re4eb1be rd35b77f  
     12002-11-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * gcc3newlib/gccnewlib.add:
     4        Remove *.la's to make rpm-4.1/RH-8.0 happy.
     5        Remove libiberty.a to make rpm-4.1/RH-8.0 happy.
     6        Change gcc/version.c to reflect us having patched gcc.
     7
    182002-11-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • scripts/gcc3newlib/gccnewlib.add

    re4eb1be rd35b77f  
    118118@PATCH4@
    119119
     120  cd gcc-@gcc_version@
     121    sed -e 's/\(version_string = \"[^\"]*\)/\1 (OAR Corporation gcc-@gcc_version@-@gcc_patch_version@\/newlib-@newlib_version@-@newlib_patch_version@ @Release@)/' \
     122    gcc/version.c > gcc/version.c~
     123    mv gcc/version.c~  gcc/version.c
     124
    120125  # Fix timestamps
    121   cd gcc-@gcc_version@
    122126    contrib/gcc_update --touch
    123127  cd ..
     
    215219
    216220  # Bug in gcc-3.x: It puts the build dirs into *.la files
    217   files=`find ${RPM_BUILD_ROOT}%{_prefix}/@target_alias@/lib -name '*.la'`
    218   test -n "$files" && for i in $files; do
    219     rm -f $i
    220   done
     221
     222  # host library
     223  rm -f  ${RPM_BUILD_ROOT}%{_prefix}/lib/libiberty.a
    221224
    222225%if "@gcc_version@" < "3.0"
     
    274277  for i in $f; do
    275278    case $i in
    276     *lib*.la);; # ignore: gcc produces bogus libtool libs
     279    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
    277280    *f771) ;;
    278281    *cc1obj) ;;
     
    297300  for i in $f; do
    298301    case $i in
    299     *lib*.la);; # ignore - gcc produces bogus libtool libs
    300     *libiberty.a) ;; # ignore - GPL'ed
     302    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
     303    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
    301304# all other files belong to gcc
    302305    *) echo "$i" >> files.gcc ;;
Note: See TracChangeset for help on using the changeset viewer.