O_NOUG := 0 # disable user, group name in status bar
O_NOX11 := 0 # disable X11 integration
O_MATCHFLTR := 0 # allow filters without matches
+O_NOSORT := 0 # disable sorting entries on dir load
# User patches
O_GITSTATUS := 0 # add git status to detail view
CPPFLAGS += -DMATCHFLTR
endif
+ifeq ($(strip $(O_NOSORT)),1)
+ CPPFLAGS += -DNOSORT
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)
if (!ndents)
return;
+#ifndef NOSORT
ENTSORT(pdents, ndents, entrycmpfn);
+#endif
#ifdef DEBUG
clock_gettime(CLOCK_REALTIME, &ts2);