From: pwpiwi Date: Tue, 11 Apr 2017 05:05:22 +0000 (+0200) Subject: avoid vast number of warnings with clang compiler X-Git-Tag: v3.0.0~14 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/8aee1b84182e0e6590d4d689271bde0f1c158689 avoid vast number of warnings with clang compiler --- 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