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