summaryrefslogtreecommitdiff
path: root/games/mirrormagic/patches/patch-ab
blob: 37eb5385d6b8827cc84ff6d0420cb8f4c87395ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.3 2001/07/05 22:13:08 kristerw Exp $
--- src/Makefile.orig	Wed May  2 23:13:44 2001
+++ src/Makefile	Wed May  2 23:24:24 2001
@@ -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
@@ -100,7 +100,7 @@
 # OPTIONS = -O3
 # OPTIONS = -DSYSV -Ae				# may be needed for HP-UX
 
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
+CFLAGS = $(SYS_CFLAGS) $(CONFIG)
 LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm