diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-12-29 11:08:07 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-12-29 11:08:07 +0530 |
commit | 3a88e31a0e134e8ce80a6439ca215111c95871fc (patch) | |
tree | 58edfdabd4b78a3fad65972c1bef08d77a771d86 /Makefile | |
parent | 9b010b1c033b404f58505e02af29d7291ba3b386 (diff) | |
download | nnn-3a88e31a0e134e8ce80a6439ca215111c95871fc.tar.gz |
Check alignment and enable -O3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |