]> git.pld-linux.org Git - packages/nnn.git/blob - nnn-flags.patch
2305f2b6fe43d254e50e576fc00eccd62e9b5032
[packages/nnn.git] / nnn-flags.patch
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.032444 seconds and 2 git commands to generate.