SHA256
3
0
forked from pool/gcc

Accepting request 84846 from home:dirkmueller:branches:devel:gcc

- use the target gcc binary for finding the right cc1 path

OBS-URL: https://build.opensuse.org/request/show/84846
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=26
This commit is contained in:
Richard Biener 2011-09-26 12:00:15 +00:00 committed by Git OBS Bridge
parent cb43c8afdb
commit 1e81212b41
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 26 13:41:02 CEST 2011 - dmueller@suse.de
- use the target gcc binary for finding the right cc1 path
-------------------------------------------------------------------
Wed May 11 08:15:44 UTC 2011 - rguenther@novell.com

View File

@ -383,7 +383,7 @@ ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
%ifarch s390 s390x
dir=`gcc -print-prog-name=cc1`
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
dir=${dir%/cc1}
mkdir -p $RPM_BUILD_ROOT/$dir
cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF