toolchain mods, glibc and gcc still need some checking
[hdw-linux/hdw-linux.git] / packages / toolchain / gcc / gcc
index 39e2b24..71ed73b 100644 (file)
@@ -2,9 +2,9 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 3.3.4
+# [V] 4.1.1
 # [S] 0-1 0-4
-# [D] gcc-3.3.4.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-3.3.4/
+# [D] gcc-4.1.1.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.1.1/
 
 
 extraver="-$ver"
@@ -13,18 +13,9 @@ extraver="-$ver"
 confopt="$confopt --enable-shared --with-local-prefix=$prefix"
 confopt="$confopt --libexecdir=$prefix/lib"
 
-unset CFLAGS
-
 if [ "$priority" = "1" ] ; then
-       confopt=${confopt//--host* /--host=$hdw_arch_build }
        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
                        }