summaryrefslogtreecommitdiff
path: root/games/mirrormagic-sdl/patches/patch-ab
blob: d51e2fb28244f5454010d710b4c424ff420c0045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $

--- src/Makefile.orig	Tue Mar 19 02:58:57 2002
+++ src/Makefile	Thu Mar 28 11:34:15 2002
@@ -17,7 +17,7 @@
 XINC_PATH = $(X11_PATH)/include
 XLIB_PATH = $(X11_PATH)/lib
 X11_INCL = -I$(XINC_PATH)
-X11_LIBS = -L$(XLIB_PATH)
+X11_LIBS = -L$(XLIB_PATH) -Wl,-R$(XLIB_PATH)
 endif
 
 AR = ar
@@ -112,7 +112,7 @@
 OPTIONS = -O3 -Wall
 endif
 
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
+CFLAGS += $(SYS_CFLAGS) $(CONFIG)
 LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm