X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Ftoolchain%2Fgcc%2Fgcc;h=8193ae264254e8524cec7f13192ff98c97562d67;hb=bd84a48b18931aa3f2bd2f7db12e0353eb4abd39;hp=39e2b24aea29ade6b54bad8d44ad9c287b26fdef;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/toolchain/gcc/gcc b/packages/toolchain/gcc/gcc index 39e2b24..8193ae2 100644 --- a/packages/toolchain/gcc/gcc +++ b/packages/toolchain/gcc/gcc @@ -2,9 +2,9 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 3.3.4 +# [V] 4.0.0 # [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.0.0.tar.bz2 ftp://ftp.fu-berlin.de/unix/gnu/gcc/gcc-4.0.0/ extraver="-$ver" @@ -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="" ; hdw_cflags="" + . ./scripts/optimization + unset CFLAGS post_install() { ln -sf gcc $prefix/bin/cc