openbsd-ports/games/rocksndiamonds/patches/patch-src_Makefile

15 lines
497 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.6 2010/06/07 08:13:53 sthen Exp $
--- src/Makefile.orig Tue May 25 21:43:06 2010
+++ src/Makefile Sun Jun 6 14:20:58 2010
@@ -160,8 +160,8 @@ ifdef BUILD_DIST # distribution build
OPTIONS = -O3 -Wall
endif
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(EXTRA_CFLAGS) $(CONFIG)
-LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
+CFLAGS += $(SYS_CFLAGS) $(EXTRA_CFLAGS) $(CONFIG)
+LDFLAGS += $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
SRCS = main.c \