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

14 lines
360 B
Diff

--- Makefile.orig
+++ Makefile
@@ -1,8 +1,8 @@
VERSION = 0.2.5
CC ?= gcc
STRIP ?= strip
-CFLAGS = -std=c99 -D_DEFAULT_SOURCE -O2
-LDFLAGS = -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-screensaver
+CFLAGS += -std=c99 -D_DEFAULT_SOURCE
+LDFLAGS += -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-screensaver
SRCR = pokoy.c
OBJS = ${SRCR:.c=.o}