mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
16 lines
510 B
Plaintext
16 lines
510 B
Plaintext
name=gcc
|
|
revision=1
|
|
from_source=gcc
|
|
imagedeps="base-devel"
|
|
hostrundeps="automake autoconf xgcc xbinutils libstdc++-v3"
|
|
deps="base gmp mpfr mpc binutils"
|
|
|
|
build() {
|
|
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --enable-languages=c,c++ --with-sysroot=/ --with-build-sysroot=${sysroot_dir}
|
|
make -j${parallelism} all-gcc all-target-libgcc all-target-libstdc++-v3
|
|
}
|
|
|
|
package() {
|
|
make install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="${dest_dir}"
|
|
}
|