From 32fe0d1f3759b0e2ed5f278b8946fd7a2c369691 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 25 Aug 2026 21:52:32 -0300 Subject: [PATCH] Revert "xgcc: fix build" This reverts commit 17e2f46e3b578f2401cc452177e332844037618b. --- host-recipes/xgcc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/host-recipes/xgcc b/host-recipes/xgcc index 8b4bfaa6..42400d82 100644 --- a/host-recipes/xgcc +++ b/host-recipes/xgcc @@ -1,5 +1,5 @@ name=xgcc -revision=6 +revision=5 from_source=gcc imagedeps="build-essential libmpfr-dev libmpc-dev libgmp-dev" hostdeps="automake autoconf xbinutils pkgconfig" @@ -7,10 +7,8 @@ deps="mlibc-headers" clean_workdirs=no configure() { - gmp_include_dir="/usr/include/$(gcc -print-multiarch)" - [ -f "${gmp_include_dir}/gmp.h" ] || gmp_include_dir=/usr/include - - ${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 + GMPINC="-I/usr/include/x86_64-linux-gnu" \ + ${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 } build() {