[PATCH 01/18] Allow additional CFLAGS to be specified, e.g. "CFLAGS=-m64 make"

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
Signed-off-by: John Levon <[email protected]>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f4d6835f..fe3af882 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ ifeq ($(CC),"")
 CC = gcc
 endif
 
-CFLAGS = -O2 -finline-functions -fno-strict-aliasing -g
+CFLAGS += -O2 -finline-functions -fno-strict-aliasing -g
 CFLAGS += -Wall -Wwrite-strings -Wno-switch
 LDFLAGS += -g -lm -lsqlite3 -lssl -lcrypto
 LD = gcc
-- 
2.14.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.