From 7e46840b8630f4e40e0b8f983c549ebd0c783711 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sun, 12 Feb 2023 07:39:17 +0100 Subject: [PATCH] build: Update for latest cross-detect --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 8852da99..648a3434 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,7 @@ else ( $MKDIR_P "$BUILDDIR/cross-files" cd "$BUILDDIR/cross-files" - TRIPLET=i686-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes WANT_CROSS_READELF=yes "$SRCDIR/cross-detect/configure" + CC="$CC" TRIPLET=i686-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes WANT_CROSS_READELF=yes "$SRCDIR/cross-detect/configure" ) || exit 1 BUILD_BIOS="limine-bios" NEED_NASM=yes @@ -110,7 +110,7 @@ else ( $MKDIR_P "$BUILDDIR/cross-files" cd "$BUILDDIR/cross-files" - TRIPLET=i686-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" + CC="$CC" TRIPLET=i686-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" ) || exit 1 BUILD_UEFI_IA32="limine-uefi-ia32" NEED_NASM=yes @@ -130,7 +130,7 @@ else ( $MKDIR_P "$BUILDDIR/cross-files" cd "$BUILDDIR/cross-files" - TRIPLET=x86_64-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" + CC="$CC" TRIPLET=x86_64-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" ) || exit 1 BUILD_UEFI_X86_64="limine-uefi-x86-64" NEED_NASM=yes @@ -150,7 +150,7 @@ else ( mkdir -p "$BUILDDIR/cross-files" cd "$BUILDDIR/cross-files" - TRIPLET=aarch64-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" + CC="$CC" TRIPLET=aarch64-elf WANT_CROSS_LD=yes WANT_CROSS_OBJCOPY=yes WANT_CROSS_OBJDUMP=yes "$SRCDIR/cross-detect/configure" ) || exit 1 BUILD_UEFI_AARCH64="limine-uefi-aarch64" fi