From 1261fee93c1620931a9edb5fefb0227408b89d73 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Sat, 17 Nov 2018 20:34:54 -0800 Subject: [PATCH] Fix variable name conflict. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2bb97d20e..6740dfd31 100644 --- a/Makefile +++ b/Makefile @@ -176,7 +176,7 @@ endif ifneq ($(LLVM_VERSION), 32) CPPFLAGS += -std=c++11 endif -CFLAGS += -std=c99 +C99FLAGS += -std=c99 ifneq ($(findstring $(UNAME), Linux FreeBSD),) @@ -287,7 +287,7 @@ build/%.o: src/%.cpp $(PACKAGE_DEPS) $(CXX) $(FLAGS) $(CPPFLAGS) $< -c -o $@ build/%.o: src/%.c $(PACKAGE_DEPS) - $(CC) $(FLAGS) $(CFLAGS) $< -c -o $@ + $(CC) $(FLAGS) $(C99FLAGS) $< -c -o $@ download: build/$(LUA_TAR)