summaryrefslogtreecommitdiff
path: root/sysinfo
diff options
context:
space:
mode:
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/host/native.mk10
-rw-r--r--sysinfo/toolchain/clang.mk6
2 files changed, 8 insertions, 8 deletions
diff --git a/sysinfo/host/native.mk b/sysinfo/host/native.mk
index 97fcb14..153cfbe 100644
--- a/sysinfo/host/native.mk
+++ b/sysinfo/host/native.mk
@@ -1,9 +1,9 @@
-include $(PROJECT_DIR)/sysinfo/os/$(BUILD_OS).mk
+include $(PROJECT_DIR)/sysinfo/os/$(NATIVE_OS).mk
-CC = $(BUILD_CC)
-OS = $(BUILD_OS)
-HOST_BITS = $(BUILD_OS_BITS)
-HOST_UNDERSCORE = $(BUILD_OS_UNDERSCORE)
+CC = $(NATIVE_CC)
+OS = $(NATIVE_OS)
+HOST_BITS = $(NATIVE_OS_BITS)
+HOST_UNDERSCORE = $(NATIVE_OS_UNDERSCORE)
ifeq ($(OS),linux)
ifeq ($(HOST_BITS),32)
diff --git a/sysinfo/toolchain/clang.mk b/sysinfo/toolchain/clang.mk
index 98e73d6..d239319 100644
--- a/sysinfo/toolchain/clang.mk
+++ b/sysinfo/toolchain/clang.mk
@@ -7,9 +7,9 @@ else
endif
-CC = $(BUILD_CC) $(CROSS_HOST_SPEC)
-CPP = $(BUILD_CC) $(CROSS_HOST_SPEC)
-CXX = $(BUILD_CC)++ $(CROSS_HOST_SPEC)
+CC = $(NATIVE_CC) $(CROSS_HOST_SPEC)
+CPP = $(NATIVE_CC) $(CROSS_HOST_SPEC)
+CXX = $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
AS = $(CROSS_COMPILE)as