From b0a806ae2eaeff81d92762baebd4241d09f6f61a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 27 Sep 2017 22:48:46 +0530 Subject: [PATCH] Enable O3 optimization --- Makefile | 2 +- scripts/make_native/Makefile.native | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d281d0cb..6103610d 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 aaf6d9ba..44f1932d 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 #