From 92cfcee08e475c14d9143a2f0af33720940457ee Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 31 Oct 2015 11:04:25 -0400 Subject: build system: gcc: add missing cross-compilation conditional. --- sysinfo/toolchain/gcc.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysinfo/toolchain') diff --git a/sysinfo/toolchain/gcc.mk b/sysinfo/toolchain/gcc.mk index e0ad0d2..52a2545 100644 --- a/sysinfo/toolchain/gcc.mk +++ b/sysinfo/toolchain/gcc.mk @@ -1,5 +1,9 @@ ifeq ($(USER_CC)x,x) - CC = $(CROSS_COMPILE)$(NATIVE_CC) + ifeq ($(CROSS_COMPILE)x,x) + CC = $(CROSS_COMPILE)$(NATIVE_CC) + else + CC = $(CROSS_COMPILE)gcc + endif else CC = $(USER_CC) endif -- cgit v1.2.3