summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-24 22:36:23 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:22 -0500
commit9b78c3c1cf308e6de91b1ed7e22e8b7f8e33e4d5 (patch)
treed8f34f888044d0ecd8d191560d463bc9f61cc78b /sysinfo
parentb3dff5c78cd9a0baaece412f761a2afdc4e259cf (diff)
downloadperk-9b78c3c1cf308e6de91b1ed7e22e8b7f8e33e4d5.tar.bz2
perk-9b78c3c1cf308e6de91b1ed7e22e8b7f8e33e4d5.tar.xz
build system: respect CROSS_COMPILE when setting CC for allegedly native builds.
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/host/native.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysinfo/host/native.mk b/sysinfo/host/native.mk
index 153cfbe..465a01b 100644
--- a/sysinfo/host/native.mk
+++ b/sysinfo/host/native.mk
@@ -1,6 +1,6 @@
include $(PROJECT_DIR)/sysinfo/os/$(NATIVE_OS).mk
-CC = $(NATIVE_CC)
+CC = $(CROSS_COMPILE)$(NATIVE_CC)
OS = $(NATIVE_OS)
HOST_BITS = $(NATIVE_OS_BITS)
HOST_UNDERSCORE = $(NATIVE_OS_UNDERSCORE)