This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/gcc/cross_stage2.bash

40 lines
867 B
Bash
Raw Normal View History

source $pkg_common
2013-07-13 17:19:22 +01:00
requires=\
(
2015-02-05 13:48:29 +00:00
'glibc/headers'
2013-07-13 17:19:22 +01:00
)
configure()
{
MAKEINFO='/bin/true' \
"../gcc-$version/configure" $cfg_target_gcc_configure_flags \
--prefix="$cfg_dir_toolchain" \
2015-02-05 13:43:52 +00:00
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
2013-07-13 17:19:22 +01:00
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--target="$cfg_target_canonical" \
--host="$cfg_host_canonical" \
--build="$cfg_host_canonical" \
--with-mpfr="$cfg_dir_toolchain" \
--with-gmp="$cfg_dir_toolchain" \
--with-mpc="$cfg_dir_toolchain" \
--disable-libssp \
--disable-libgomp \
--disable-libmudflap \
--disable-libquadmath \
--disable-libatomic \
--enable-languages=c \
--disable-multilib \
--disable-nls
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}