summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-10-31 15:05:21 -0400
committermidipix <writeonce@midipix.org>2015-10-31 15:05:21 -0400
commit26bab9e6c22dea9a57fa174a670372ae0b30a485 (patch)
tree04b9f3b07bbb7cb6df9b58f191cdf168190296c1 /sysinfo
parent2e94f1fa23fd1435f5816d28fed7391f60cb05de (diff)
downloaddalist-26bab9e6c22dea9a57fa174a670372ae0b30a485.tar.bz2
dalist-26bab9e6c22dea9a57fa174a670372ae0b30a485.tar.xz
build system: gcc: add missing cross-compilation conditional.
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/toolchain/gcc.mk6
1 files changed, 5 insertions, 1 deletions
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