All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Makefile: Set CC/AR variable only if it doesn't have a value
@ 2016-01-03 18:54 Khem Raj
  2016-01-04 13:39 ` Jeff Epler
  2016-01-05 22:59 ` John Kacur
  0 siblings, 2 replies; 12+ messages in thread
From: Khem Raj @ 2016-01-03 18:54 UTC (permalink / raw)
  To: williams, jkacur; +Cc: linux-rt-users, Khem Raj

This helps it compile with clang or any other compilers besides gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1e4b7d1..2c2d396 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 0.96
-CC=$(CROSS_COMPILE)gcc
-AR=$(CROSS_COMPILE)ar
+CC?=$(CROSS_COMPILE)gcc
+AR?=$(CROSS_COMPILE)ar
 
 OBJDIR = bld
 
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-01-05 22:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-03 18:54 [PATCH] Makefile: Set CC/AR variable only if it doesn't have a value Khem Raj
2016-01-04 13:39 ` Jeff Epler
2016-01-04 14:40   ` Clark Williams
2016-01-05  3:12     ` Jeff Epler
2016-01-04 16:20   ` Khem Raj
2016-01-04 16:25     ` Uwe Kleine-König
2016-01-05 21:15       ` Henrik Austad
2016-01-05 21:20         ` Khem Raj
2016-01-05 21:42         ` Uwe Kleine-König
2016-01-04 19:21     ` Arnout Vandecappelle
2016-01-04 23:13       ` Khem Raj
2016-01-05 22:59 ` John Kacur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.