mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
fix builds and update mlibc
This commit is contained in:
@@ -2,23 +2,17 @@ name=gcc-cross
|
||||
revision=1
|
||||
from_source=gcc-cross
|
||||
imagedeps="base-devel"
|
||||
hostdeps="automake autoconf binutils-cross"
|
||||
hostdeps="automake autoconf binutils-cross 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
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make all-gcc all-target-libgcc -j ${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install(){
|
||||
|
||||
make DESTDIR="${dest_dir}" install-gcc install-target-libgcc
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user