void-packages/srcpkgs/pokoy/patches/build.patch

15 lines
353 B
Diff

diff --git Makefile Makefile
index 3e99b03..71b5fa1 100644
--- Makefile
+++ Makefile
@@ -1,8 +1,7 @@
VERSION = 0.2
CC ?= gcc
STRIP ?= strip
-CFLAGS = -std=gnu11 -O2
-LDFLAGS = -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-screensaver
+LDFLAGS += -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-screensaver
SRCR = pokoy.c
OBJS = ${SRCR:.c=.o}