Stop using -ansi -fno-gnu-keywords in Linux
There is no need for -fno-gnu-keywords (which was implied by -ansi) in the current code. -ansi disables GCC built-in functions, which add optimizations and extra security checks in some cases. It may be good to use it (and -pedantic) while developing to try to keep the code ANSI standard, but users should have binaries compiled without the option.
This commit is contained in:
parent
264a7537e5
commit
1a15920ee4
@ -67,8 +67,7 @@ objects:=$(patsubst %$(EXTENSION),%.o,$(sources))
|
||||
|
||||
objects_so:=$(patsubst %$(EXTENSION),%.lo,$(sources))
|
||||
|
||||
WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE \
|
||||
-Wshadow
|
||||
WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -D_GNU_SOURCE -Wshadow
|
||||
COMPILEFLAGS=$(DEBUGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(WARNINGFLAGS) $(INCLUDE)
|
||||
LINKFLAGS=-L. -L$(LIBEBML_LIB_DIR) $(LDFLAGS)
|
||||
DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user