aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-09-27 22:48:46 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-09-27 22:48:46 +0530
commitb0a806ae2eaeff81d92762baebd4241d09f6f61a (patch)
tree0ccbbcad8bec42eccd283981a191c3c02e769661
parent6bfbff95199477b1630f93cab381c375ad5f8a28 (diff)
downloadnnn-b0a806ae2eaeff81d92762baebd4241d09f6f61a.tar.gz
Enable O3 optimization
-rw-r--r--Makefile2
-rw-r--r--scripts/make_native/Makefile.native1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d281d0c..6103610 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ VERSION = 1.4
PREFIX ?= /usr/local
MANPREFIX = $(PREFIX)/share/man
-CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter
+CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter
LDLIBS = -lreadline
ifeq ($(shell pkg-config ncursesw && echo 1),1)
diff --git a/scripts/make_native/Makefile.native b/scripts/make_native/Makefile.native
index aaf6d9b..44f1932 100644
--- a/scripts/make_native/Makefile.native
+++ b/scripts/make_native/Makefile.native
@@ -1,5 +1,4 @@
# This Makefile optimizes native builds. It
-# - enables -O3 optimization
# - builds for native architecture (-march=native)
# - does not have debug build option
#