mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 02:23:15 +01:00
Use -O2 without debugging.
This commit is contained in:
parent
3a2e9d805a
commit
1ed37385c6
@ -26,13 +26,15 @@ endif
|
||||
if IS_GCC
|
||||
CFLAGS += -std=c99
|
||||
if IS_DEBUG
|
||||
CFLAGS += -g -ggdb -O0
|
||||
CFLAGS += -O0 -g
|
||||
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||
CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||
CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
||||
CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
|
||||
CFLAGS += -Wdeclaration-after-statement
|
||||
CPPFLAGS += -DDEBUG
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
if IS_GCC4
|
||||
CPPFLAGS += -iquote. -I/usr/local/include
|
||||
|
Loading…
Reference in New Issue
Block a user