up to 3.5
[packages/nnn.git] / nnn-flags.patch
CommitLineData
a28b3c61
JP
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 ($(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 ($(O_CTX8),1)
16- CPPFLAGS += -DCTX8
17+ override CPPFLAGS += -DCTX8
18 endif
19
20 ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),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.064059 seconds and 4 git commands to generate.