]> Sergey Matveev's repositories - nnn.git/commitdiff
Enable O3 optimization
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 27 Sep 2017 17:18:46 +0000 (22:48 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 27 Sep 2017 17:18:46 +0000 (22:48 +0530)
Makefile
scripts/make_native/Makefile.native

index d281d0cb56d4db0c556163362be17a10de3f3113..6103610d1ef76c2009e9072f37219df87d5cbd9b 100644 (file)
--- 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)
index aaf6d9ba1a7317fdbc163674d31fc2474a03a12a..44f1932d5fbcfe0173be27e0165b7e39f591fd30 100644 (file)
@@ -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
 #