use host system tools
authorhackbard <hackbard>
Sat, 14 May 2005 10:19:12 +0000 (10:19 +0000)
committerhackbard <hackbard>
Sat, 14 May 2005 10:19:12 +0000 (10:19 +0000)
packages/toolchain/gcc/gcc

index 3b4fea6..d1c8675 100644 (file)
@@ -16,14 +16,12 @@ 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"
+       # use host system tools
+       hdw_arch_prefix=""
+       . ./scripts/optimization
+       unset CFLAGS
 
        post_install()  {
                ln -sf gcc $prefix/bin/cc