From 9c819b339fee5510737da17b2dd80965b0b74036 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 9 Oct 2016 23:00:51 +0000 Subject: [PATCH] Fix cross compilation (e.g. on Darwin). Following changes to make.tmpl, we need to override HOST_DEF_CC instead of HOST_CC. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52977 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/all-pc/boot/grub2-aros/mmakefile.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/all-pc/boot/grub2-aros/mmakefile.src b/arch/all-pc/boot/grub2-aros/mmakefile.src index 9853341e99..793622e136 100644 --- a/arch/all-pc/boot/grub2-aros/mmakefile.src +++ b/arch/all-pc/boot/grub2-aros/mmakefile.src @@ -22,7 +22,7 @@ export DEBUG := yes # trick make.tmpl %build_with_configure compiler=host (what a hack) export TARGET_CFLAGS := $(CFLAGS1) # grub target cflags -export HOST_CC := $(TARGET_CC) # aros target cc +export HOST_DEF_CC := $(TARGET_CC) # aros target cc export CFLAGS := $(CFLAGS2) # aros target cflags export KERNEL_CFLAGS := # undef export HOST_CFLAGS := # undef -- 2.11.4.GIT