From 3da5f5d130367ce5fe74ce237e4b7d872d7ad21f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 17 Dec 2017 23:36:26 +0530 Subject: Remove -O2 from debug build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 996b293..9c7bac2 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ VERSION = 1.5 PREFIX ?= /usr/local MANPREFIX = $(PREFIX)/share/man -CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter +CFLAGS += -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) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) + $(CC) -O2 $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) strip $@ debug: $(SRC) -- cgit v1.2.3-70-g09d2