void-packages/srcpkgs/yquake2/patches/build.patch
Helmut Pozimski b9169cf240 yquake2: update to 7.01
Closes: #6874 [via git-merge-pr]
2017-06-29 00:24:38 -07:00

20 lines
580 B
Diff

--- Makefile.orig 2017-06-27 19:08:03.195849277 +0200
+++ Makefile 2017-06-27 19:09:14.208045274 +0200
@@ -160,7 +160,7 @@
-Wall -pipe -g -fwrapv
CFLAGS += $(OSX_ARCH)
else
-CFLAGS := -std=gnu99 -O2 -fno-strict-aliasing \
+CFLAGS += -std=gnu99 -O2 -fno-strict-aliasing \
-Wall -pipe -g -ggdb -MMD -fwrapv
endif
@@ -237,7 +237,7 @@
# Base LDFLAGS.
ifeq ($(YQ2_OSTYPE),Linux)
-LDFLAGS := -L/usr/lib -lm -ldl -rdynamic
+LDFLAGS += -L/usr/lib -lm -ldl -rdynamic
else ifeq ($(YQ2_OSTYPE),FreeBSD)
LDFLAGS := -L/usr/local/lib -lm
else ifeq ($(YQ2_OSTYPE),OpenBSD)