summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch')
-rw-r--r--meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch b/meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch
new file mode 100644
index 0000000000..f009cb97f7
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/cross_compile_check.patch
@@ -0,0 +1,13 @@
1diff --git a/Rules.mak b/Rules.mak
2index 84baa97..571da05 100644
3--- a/Rules.mak
4+++ b/Rules.mak
5@@ -158,7 +158,7 @@ endif
6 comma:=,
7 space:= #
8
9-ifndef CROSS_COMPILE
10+ifeq ($(CROSS_COMPILE),)
11 CROSS_COMPILE=$(call qstrip,$(CROSS_COMPILER_PREFIX))
12 endif
13