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:
parent
cb43c8afdb
commit
1e81212b41
@ -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
|
||||
|
||||
|
2
gcc.spec
2
gcc.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user