summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/toolchain
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-10-31 14:23:11 -0400
committermidipix <writeonce@midipix.org>2015-10-31 14:23:11 -0400
commit02c4a1cc1466c4b4bc673bc72c506eb8c053b29c (patch)
treeea16316e911687f1e58f3b968251fc7f91bbd151 /sysinfo/toolchain
parent725fe4bc8273f7fc8abba198503bf5a29cb14601 (diff)
downloadpemagine-02c4a1cc1466c4b4bc673bc72c506eb8c053b29c.tar.bz2
pemagine-02c4a1cc1466c4b4bc673bc72c506eb8c053b29c.tar.xz
build system: include host definitions prior to toolchain definitions
and fix CC accordingly.
Diffstat (limited to 'sysinfo/toolchain')
-rw-r--r--sysinfo/toolchain/gcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysinfo/toolchain/gcc.mk b/sysinfo/toolchain/gcc.mk
index 441a2ca..933fb48 100644
--- a/sysinfo/toolchain/gcc.mk
+++ b/sysinfo/toolchain/gcc.mk
@@ -1,4 +1,4 @@
-CC = $(CROSS_COMPILE)gcc
+CC = $(CROSS_COMPILE)$(NATIVE_CC)
CPP = $(CROSS_COMPILE)cpp
CXX = $(CROSS_COMPILE)c++