projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toolchain mods, glibc and gcc still need some checking
[hdw-linux/hdw-linux.git]
/
packages
/
toolchain
/
gcc
/
gcc
diff --git
a/packages/toolchain/gcc/gcc
b/packages/toolchain/gcc/gcc
index
3b4fea6
..
71ed73b
100644
(file)
--- a/
packages/toolchain/gcc/gcc
+++ b/
packages/toolchain/gcc/gcc
@@
-2,9
+2,9
@@
#
# author: hackbard@hackdaworld.dyndns.org
#
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 4.
0.0
+# [V] 4.
1.1
# [S] 0-1 0-4
# [S] 0-1 0-4
-# [D] gcc-4.
0.0.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.0.0
/
+# [D] gcc-4.
1.1.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.1.1
/
extraver="-$ver"
extraver="-$ver"
@@
-13,18
+13,9
@@
extraver="-$ver"
confopt="$confopt --enable-shared --with-local-prefix=$prefix"
confopt="$confopt --libexecdir=$prefix/lib"
confopt="$confopt --enable-shared --with-local-prefix=$prefix"
confopt="$confopt --libexecdir=$prefix/lib"
-unset CFLAGS
-
if [ "$priority" = "1" ] ; then
if [ "$priority" = "1" ] ; then
- confopt=${confopt//--host* /--host=$hdw_arch_build }
confopt="$confopt --enable-languages=c --disable-nls"
confopt="$confopt --enable-languages=c --disable-nls"
- # use host system gcc tools
- export CC="gcc"
- export CXX="c++"
-
- make_conf="BOOT_LDFLAGS=\"-static\" bootstrap"
-
post_install() {
ln -sf gcc $prefix/bin/cc
}
post_install() {
ln -sf gcc $prefix/bin/cc
}