jinx: more tweaks to the gcc port

This commit is contained in:
Matheus
2022-10-14 18:16:33 -03:00
parent 122ea6b189
commit 1b766ceb4a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -84,8 +84,8 @@ diff -ruN gcc-12.1.0/libgcc/config.host gcc-12.1.0-patched/libgcc/config.host
x86_64-*-openbsd*)
;;
+x86_64-*-astral*)
+ extra_parts="$extra_parts crti.o crtbegin.o crtend.o crtn.o crtbeginS.o crtendS.o"
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic"
+ extra_parts="$extra_parts crti.o crtbegin.o crtend.o crtn.o crtbeginS.o crtendS.o crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
+ ;;
i[34567]86-*-linux*)
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+1 -1
View File
@@ -8,7 +8,7 @@ deps="mlibc gmp mpfr mpc"
configure() {
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --enable-languages=c,c++
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --enable-languages=c,c++ --with-sysroot=/ --with-build-sysroot=${sysroot_dir}