mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Enable O3 optimization
This commit is contained in:
parent
6bfbff9519
commit
b0a806ae2e
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ VERSION = 1.4
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
MANPREFIX = $(PREFIX)/share/man
|
MANPREFIX = $(PREFIX)/share/man
|
||||||
|
|
||||||
CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter
|
CFLAGS += -O3 -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)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# This Makefile optimizes native builds. It
|
# This Makefile optimizes native builds. It
|
||||||
# - enables -O3 optimization
|
|
||||||
# - builds for native architecture (-march=native)
|
# - builds for native architecture (-march=native)
|
||||||
# - does not have debug build option
|
# - does not have debug build option
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue