mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 16:39:14 +00:00
Remove -O2 from debug build
This commit is contained in:
parent
7a16440e1f
commit
3da5f5d130
4
Makefile
4
Makefile
|
@ -3,7 +3,7 @@ VERSION = 1.5
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
MANPREFIX = $(PREFIX)/share/man
|
MANPREFIX = $(PREFIX)/share/man
|
||||||
|
|
||||||
CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter
|
CFLAGS += -Wall -Wextra -Wno-unused-parameter
|
||||||
LDLIBS = -lreadline
|
LDLIBS = -lreadline
|
||||||
|
|
||||||
ifeq ($(shell pkg-config ncursesw && echo 1),1)
|
ifeq ($(shell pkg-config ncursesw && echo 1),1)
|
||||||
|
@ -23,7 +23,7 @@ all: $(BIN) $(PLAYER)
|
||||||
$(SRC): nnn.h
|
$(SRC): nnn.h
|
||||||
|
|
||||||
$(BIN): $(SRC)
|
$(BIN): $(SRC)
|
||||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
$(CC) -O2 $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
strip $@
|
strip $@
|
||||||
|
|
||||||
debug: $(SRC)
|
debug: $(SRC)
|
||||||
|
|
Loading…
Reference in a new issue