Browse Source

fixed gcc3-cross to install the symlinks in .../bin instead of crosscc ...

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@984 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
0132981f89
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      package/base/gcc3-cross/gcc3-cross.conf

+ 6
- 0
package/base/gcc3-cross/gcc3-cross.conf

@ -23,6 +23,11 @@
# include the cross configuration
. $base/package/base/gcc3-cross/cross.conf
gcc_cross_pi(){
mv -fv $root/$prefix/crosscc/* $root/$prefix/bin
rmdir $root/$prefix/crosscc
}
# overwrite some confopt variables ...
confopt="--preifx=$root/$prefix --target=\$arch_target --host=\$arch_build \
--disable-nls"
@ -32,4 +37,5 @@ confopt="--preifx=$root/$prefix --target=\$arch_target --host=\$arch_build \
# but always do a cross build ...
custmain="gcc_stage0"
hook_add postinstall 3 gcc_cross_pi

Loading…
Cancel
Save