aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-11-30 21:40:52 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-11-30 21:40:52 +0530
commit5ff29cede8e672eecc4d817dbc7fa311758116aa (patch)
treebb6e3eb4cfaf613478397398671f217e945de42c /Makefile
parentcd2bdc5991cd61da1b1ab386b096fb14676e4b2b (diff)
downloadnnn-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bce324..4bc2a18 100644
--- a/Makefile
+++ b/Makefile
@@ -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)