commit b0a806ae2eaeff81d92762baebd4241d09f6f61a
parent 6bfbff95199477b1630f93cab381c375ad5f8a28
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 27 Sep 2017 22:48:46 +0530
Enable O3 optimization
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git 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
@@ -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
#