mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
+3
-5
@@ -1,5 +1,5 @@
|
|||||||
name=xgcc
|
name=xgcc
|
||||||
revision=6
|
revision=5
|
||||||
from_source=gcc
|
from_source=gcc
|
||||||
imagedeps="build-essential libmpfr-dev libmpc-dev libgmp-dev"
|
imagedeps="build-essential libmpfr-dev libmpc-dev libgmp-dev"
|
||||||
hostdeps="automake autoconf xbinutils pkgconfig"
|
hostdeps="automake autoconf xbinutils pkgconfig"
|
||||||
@@ -7,10 +7,8 @@ deps="mlibc-headers"
|
|||||||
clean_workdirs=no
|
clean_workdirs=no
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
gmp_include_dir="/usr/include/$(gcc -print-multiarch)"
|
GMPINC="-I/usr/include/x86_64-linux-gnu" \
|
||||||
[ -f "${gmp_include_dir}/gmp.h" ] || gmp_include_dir=/usr/include
|
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --enable-languages=c,c++,fortran --enable-threads=posix --enable-libgomp --disable-multilib --enable-shared --enable-host-shared --with-pic
|
||||||
|
|
||||||
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --with-gmp-include="${gmp_include_dir}" --enable-languages=c,c++,fortran --enable-threads=posix --enable-libgomp --disable-multilib --enable-shared --enable-host-shared --with-pic
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user