From 8aee1b84182e0e6590d4d689271bde0f1c158689 Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Tue, 11 Apr 2017 07:05:22 +0200 Subject: [PATCH] avoid vast number of warnings with clang compiler --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index 2a2c7e49..cea981f9 100644 --- a/client/Makefile +++ b/client/Makefile @@ -19,7 +19,7 @@ OBJDIR = obj LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm LUALIB = ../liblua/liblua.a LDFLAGS = $(COMMON_FLAGS) -CFLAGS = -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4 +CFLAGS = -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O3 CXXFLAGS = -std=c++11 -fPIC -Wall -O3 LUAPLATFORM = generic -- 2.39.5