]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
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 3b4fea697db61048c31e952a3c9bb5cc0611d2ac..d1c86750973ca2268a1f046a7f3419aa08624de1 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