diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-09-27 22:48:46 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-09-27 22:48:46 +0530 |
commit | b0a806ae2eaeff81d92762baebd4241d09f6f61a (patch) | |
tree | 0ccbbcad8bec42eccd283981a191c3c02e769661 | |
parent | 6bfbff95199477b1630f93cab381c375ad5f8a28 (diff) | |
download | nnn-b0a806ae2eaeff81d92762baebd4241d09f6f61a.tar.gz |
Enable O3 optimization
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | scripts/make_native/Makefile.native | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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 # |