diff options
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 13:03:47 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 13:03:47 +0000 |
| commit | 57eb334d5b989642c84b974908c43c729983d1b8 (patch) | |
| tree | 5600670a3688454d211b34ff8d45419bcd06d94c /Makefile.am | |
| parent | 5f904aa35002246ee1005e3849455ccbdc321781 (diff) | |
| parent | ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff) | |
| download | rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.gz rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.bz2 rtmux-57eb334d5b989642c84b974908c43c729983d1b8.zip | |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index a19a7613..f77c9abd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 |