Changeset d3ae447 in rtems


Ignore:
Timestamp:
Nov 6, 2008, 7:36:41 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.9
Children:
eaa58115
Parents:
6fd1e692
Message:

Sync with CVS-HEAD.

Location:
contrib/crossrpms/gcc
Files:
3 edited

Legend:

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

    r6fd1e692 rd3ae447  
    3333  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
    3434%else
    35   CC="%{__cc} ${RPM_OPT_FLAGS}" \
     35# gcc is not ready to be compiled with -std=gnu99
     36  CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
    3637%endif
    3738  ../gcc-%{gcc_pkgvers}/configure \
  • contrib/crossrpms/gcc/prep.add

    r6fd1e692 rd3ae447  
    2626
    2727%if %build_objc
    28 %setup -T -D -n %{name}-%{version} -a5
     28%setup -q -T -D -n %{name}-%{version} -a5
    2929%{?PATCH5:%patch5 -p0}
    3030%endif
  • contrib/crossrpms/gcc/rpm-install.add

    r6fd1e692 rd3ae447  
    4848%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
    4949
     50
     51# Extract %%__debug_install_post into debug_install_post~
     52cat << \EOF > debug_install_post~
     53%__debug_install_post
     54EOF
     55
     56# Generate customized debug_install_post script
     57cat debug_install_post~ | while read a x y; do
     58case $a in
     59# Prevent find-debuginfo.sh* from trying to handle foreign binaries
     60*/find-debuginfo.sh)
     61  b=$(basename $a)
     62  sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
     63  chmod a+x $b
     64  ;;
     65esac
     66done
     67
     68sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
     69< debug_install_post~ > debug_install_post
     70%define __debug_install_post . ./debug_install_post
     71
     72
Note: See TracChangeset for help on using the changeset viewer.