From 3a88e31a0e134e8ce80a6439ca215111c95871fc Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 29 Dec 2017 11:08:07 +0530 Subject: Check alignment and enable -O3 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03dfd77..e8224d8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ VERSION = 1.6 PREFIX ?= /usr/local MANPREFIX = $(PREFIX)/share/man -CFLAGS += -Wall -Wextra -Wno-unused-parameter +CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter LDLIBS = -lreadline ifeq ($(shell pkg-config ncursesw && echo 1),1) @@ -23,7 +23,7 @@ all: $(BIN) $(PLAYER) $(SRC): nnn.h $(BIN): $(SRC) - $(CC) -O2 $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) strip $@ debug: $(SRC) -- cgit v1.2.3-70-g09d2