summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch')
-rw-r--r--meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch b/meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch
deleted file mode 100644
index 00fcc7d722..0000000000
--- a/meta/recipes-rt/rt-tests/files/0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 9640dde4241e1314b8e8ea35b0c8dab0b30ae51f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 3 Jan 2016 10:50:56 -0800
4Subject: [PATCH] Makefile: Set CC/AR variable only if it doesn't have a value
5
6This helps it compile with clang or any other compilers besides gcc
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Submitted
11
12 Makefile | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/Makefile b/Makefile
16index 1e4b7d1..2c2d396 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -1,6 +1,6 @@
20 VERSION = 0.96
21-CC=$(CROSS_COMPILE)gcc
22-AR=$(CROSS_COMPILE)ar
23+CC?=$(CROSS_COMPILE)gcc
24+AR?=$(CROSS_COMPILE)ar
25
26 OBJDIR = bld
27
28--
292.6.4
30