mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 21:00:40 +01:00
Werror is bad, unless you know what you are doing
This commit is contained in:
parent
a5bc6421df
commit
eec588be6f
1 changed files with 8 additions and 3 deletions
11
Makefile.mgw
11
Makefile.mgw
|
|
@ -58,9 +58,14 @@
|
|||
.PHONY : all libgl clean realclean
|
||||
|
||||
CPU ?= pentium
|
||||
|
||||
# when -std=c99 mingw will not define WIN32
|
||||
CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32
|
||||
|
||||
ifeq ($(ICD),1)
|
||||
# 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)
|
||||
|
||||
export CFLAGS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue