From: hackbard Date: Sat, 14 May 2005 10:19:12 +0000 (+0000) Subject: use host system tools X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=d70e3316503657428c91b1de1e39b84ce16ad4b0;p=hdw-linux%2Fhdw-linux.git use host system tools --- diff --git a/packages/toolchain/gcc/gcc b/packages/toolchain/gcc/gcc index 3b4fea6..d1c8675 100644 --- a/packages/toolchain/gcc/gcc +++ b/packages/toolchain/gcc/gcc @@ -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