]> git.pld-linux.org Git - packages/nnn.git/blobdiff - nnn-flags.patch
up to 3.3
[packages/nnn.git] / nnn-flags.patch
diff --git a/nnn-flags.patch b/nnn-flags.patch
new file mode 100644 (file)
index 0000000..2305f2b
--- /dev/null
@@ -0,0 +1,33 @@
+--- nnn-3.3/Makefile.orig      2020-08-06 12:43:07.917453708 +0200
++++ nnn-3.3/Makefile   2020-08-06 12:46:43.682792814 +0200
+@@ -41,7 +41,7 @@
+ endif
+ ifeq ($(O_PCRE),1)
+-      CPPFLAGS += -DPCRE
++      override CPPFLAGS += -DPCRE
+       LDLIBS += -lpcre
+ endif
+@@ -62,7 +62,7 @@
+ endif
+ ifeq ($(O_CTX8),1)
+-      CPPFLAGS += -DCTX8
++      override CPPFLAGS += -DCTX8
+ endif
+ ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
+@@ -75,9 +75,9 @@
+       LDLIBS_CURSES ?= -lncurses
+ endif
+-CFLAGS += -std=c11 -Wall -Wextra -Wshadow
+-CFLAGS += $(CFLAGS_OPTIMIZATION)
+-CFLAGS += $(CFLAGS_CURSES)
++override CFLAGS += -std=c11 -Wall -Wextra -Wshadow
++override CFLAGS += $(CFLAGS_OPTIMIZATION)
++override CFLAGS += $(CFLAGS_CURSES)
+ LDLIBS += $(LDLIBS_CURSES)
This page took 0.328327 seconds and 4 git commands to generate.