diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-12-17 23:36:26 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-12-17 23:36:26 +0530 |
commit | 3da5f5d130367ce5fe74ce237e4b7d872d7ad21f (patch) | |
tree | 283be2bceb19fdefa854d07416ab202b16db63e4 | |
parent | 7a16440e1f1e6002d8a38e2b1ade9437dc3c79de (diff) | |
download | nnn-3da5f5d130367ce5fe74ce237e4b7d872d7ad21f.tar.gz |
Remove -O2 from debug build
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |