projects
/
nnn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a16440
)
Remove -O2 from debug build
author
Arun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Dec 2017 18:06:26 +0000 (23:36 +0530)
committer
Arun Prakash Jana <engineerarun@gmail.com>
Sun, 17 Dec 2017 18:06:26 +0000 (23:36 +0530)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 996b293cc6b07b9a5944f460a0bf65f4453edf26..9c7bac2da87118f0a00c9b8543e5990c737dc96c 100644
(file)
--- 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)