mirror of https://github.com/tmux/tmux.git
Use -std=gnu99 not c99 with GCC.
This commit is contained in:
parent
97b5df35b1
commit
b625ad6d8b
|
@ -24,7 +24,7 @@ endif
|
|||
# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
|
||||
# different flags.
|
||||
if IS_GCC
|
||||
CFLAGS += -std=c99
|
||||
CFLAGS += -std=gnu99
|
||||
if IS_DEBUG
|
||||
CFLAGS += -g -ggdb -O0
|
||||
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||
|
|
Loading…
Reference in New Issue