diff options
Diffstat (limited to 'x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch')
-rw-r--r-- | x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch b/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch new file mode 100644 index 000000000000..8e485c2cb58c --- /dev/null +++ b/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch @@ -0,0 +1,23 @@ +--- sxhkd-0.5.3/Makefile ++++ sxhkd-0.5.3/Makefile +@@ -5,7 +5,6 @@ + LIBS = -lm -lxcb -lxcb-keysyms + CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include + CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" +-LDFLAGS += -L$(PREFIX)/lib + + PREFIX ?= /usr/local + BINPREFIX = $(PREFIX)/bin +@@ -14,11 +13,9 @@ + SRC = $(wildcard *.c) + OBJ = $(SRC:.c=.o) + +-all: CFLAGS += -Os +-all: LDFLAGS += -s + all: $(NAME) + +-debug: CFLAGS += -O0 -g -DDEBUG ++debug: CFLAGS += -DDEBUG + debug: $(NAME) + + include Sourcedeps |