mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
jinx: add gcc port
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
name=gcc
|
||||
revision=1
|
||||
from_source=gcc-cross
|
||||
imagedeps="base-devel"
|
||||
hostrundeps="automake autoconf binutils-cross gcc-cross binutils-cross libstdc++-v3"
|
||||
deps="mlibc gmp mpfr mpc"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --enable-languages=c,c++
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism} all-gcc all-target-libgcc all-target-libstdc++-v3
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user