[PATCH inarp 1/3] Makefile: Do not override CC.

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 7 06:20:11 AEST 2016


From: Patrick Williams <patrick at stwcx.xyz>

The makefile currently forces CC = gcc, which prevents building against
a Yocto SDK.

Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ebf69f3..0755653 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 
-CC = gcc
+CC ?= gcc
 CFLAGS = -Wall -Wextra -Werror
 INSTALL = install
 prefix = /usr/local
-- 
2.8.3




More information about the openbmc mailing list