diff options
| author | 2017-11-30 21:40:52 +0530 | |
|---|---|---|
| committer | 2017-11-30 21:40:52 +0530 | |
| commit | 5ff29cede8e672eecc4d817dbc7fa311758116aa (patch) | |
| tree | bb6e3eb4cfaf613478397398671f217e945de42c /Makefile | |
| parent | cd2bdc5991cd61da1b1ab386b096fb14676e4b2b (diff) | |
| download | nnn-5ff29cede8e672eecc4d817dbc7fa311758116aa.tar.gz | |
Fix #50: revert to -O2 optimization
The while loop in xstrlcpy() breaks when -O3 is used.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ VERSION = 1.5 PREFIX ?= /usr/local MANPREFIX = $(PREFIX)/share/man -CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter +CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter LDLIBS = -lreadline ifeq ($(shell pkg-config ncursesw && echo 1),1) |