Skip to content

Commit

Permalink
Fix variable name conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 23, 2019
1 parent 159930e commit 1261fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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),)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 1261fee

Please sign in to comment.