Werror is bad, unless you know what you are doing
This commit is contained in:
parent
a5bc6421df
commit
eec588be6f
|
@ -59,8 +59,13 @@
|
||||||
|
|
||||||
CPU ?= pentium
|
CPU ?= pentium
|
||||||
|
|
||||||
# when -std=c99 mingw will not define WIN32
|
ifeq ($(ICD),1)
|
||||||
CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32
|
# when -std=c99 mingw will not define WIN32
|
||||||
|
CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32
|
||||||
|
else
|
||||||
|
# I love c89
|
||||||
|
CFLAGS = -Wall -W -pedantic
|
||||||
|
endif
|
||||||
CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
|
CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
|
||||||
|
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
|
|
Loading…
Reference in New Issue