aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 96c387f..758bbb9 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@
# Example: CROSS= powerpc64-unknown-linux-gnu-
#
ARCH = $(shell uname -m)
+ifdef CROSS_COMPILE
+ CROSS ?= $(CROSS_COMPILE)
+endif
ifeq ("$(ARCH)", "ppc64")
CROSS ?=
else