mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
19 lines
536 B
Plaintext
19 lines
536 B
Plaintext
name=xgcc
|
|
revision=1
|
|
from_source=gcc
|
|
imagedeps="build-essential libmpfr-dev libmpc-dev libgmp-dev"
|
|
hostdeps="automake autoconf xbinutils pkgconfig"
|
|
deps="mlibc-headers"
|
|
|
|
configure() {
|
|
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --enable-languages=c,c++ -enable-threads=posix --disable-multilib --enable-shared --enable-host-shared --with-pic
|
|
}
|
|
|
|
build() {
|
|
make all-gcc all-target-libgcc -j ${parallelism}
|
|
}
|
|
|
|
package(){
|
|
make DESTDIR="${dest_dir}" install-gcc install-target-libgcc
|
|
}
|