]> git.pld-linux.org Git - packages/nnn.git/blame_incremental - nnn-flags.patch
up to 3.6
[packages/nnn.git] / nnn-flags.patch
... / ...
CommitLineData
1--- nnn-3.3/Makefile.orig 2020-08-06 12:43:07.917453708 +0200
2+++ nnn-3.3/Makefile 2020-08-06 12:46:43.682792814 +0200
3@@ -41,7 +41,7 @@
4 endif
5
6 ifeq ($(strip $(O_PCRE)),1)
7- CPPFLAGS += -DPCRE
8+ override CPPFLAGS += -DPCRE
9 LDLIBS += -lpcre
10 endif
11
12@@ -62,7 +62,7 @@
13 endif
14
15 ifeq ($(strip $(O_CTX8)),1)
16- CPPFLAGS += -DCTX8
17+ override CPPFLAGS += -DCTX8
18 endif
19
20 ifeq ($(strip $(O_ICONS)),1)
21@@ -75,9 +75,9 @@
22 LDLIBS_CURSES ?= -lncurses
23 endif
24
25-CFLAGS += -std=c11 -Wall -Wextra -Wshadow
26-CFLAGS += $(CFLAGS_OPTIMIZATION)
27-CFLAGS += $(CFLAGS_CURSES)
28+override CFLAGS += -std=c11 -Wall -Wextra -Wshadow
29+override CFLAGS += $(CFLAGS_OPTIMIZATION)
30+override CFLAGS += $(CFLAGS_CURSES)
31
32 LDLIBS += $(LDLIBS_CURSES)
33
This page took 0.045575 seconds and 4 git commands to generate.