mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Use -std=gnu99 not c99 with GCC.
This commit is contained in:
@ -24,7 +24,7 @@ endif
|
|||||||
# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
|
# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
|
||||||
# different flags.
|
# different flags.
|
||||||
if IS_GCC
|
if IS_GCC
|
||||||
CFLAGS += -std=c99
|
CFLAGS += -std=gnu99
|
||||||
if IS_DEBUG
|
if IS_DEBUG
|
||||||
CFLAGS += -O0 -g
|
CFLAGS += -O0 -g
|
||||||
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||||
|
Reference in New Issue
Block a user