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