summaryrefslogtreecommitdiff
path: root/games/libshhcards/files/patch-aa
blob: 3e8689482157eb7d4d0140638a1a1106b78d1c17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- Makefile.orig	Sun Mar 23 04:02:53 1997
+++ Makefile	Fri May  1 22:29:34 1998
@@ -8,7 +8,7 @@
 ###########################################################################
 
 # Define SHARED as 1 for Linux shared ELF library
-#SHARED		= 1
+SHARED		= 1
 
 ifeq ($(SHARED),1)
 LIBTARGET	= lib$(DIST).so.$(VERSION)
@@ -28,8 +28,8 @@
 INSTALL		= install -m 644
 MKDIRP		= install -d -m 755
 
-CC		= gcc
-OPTIM		= -O2
+#CC		= gcc
+OPTIM		= $(CFLAGS)
 
 ###########################################################################
 
@@ -87,7 +87,7 @@
 
 $(LIBTARGET): $(LIBOBJS)
 ifeq ($(SHARED),1)
-	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
+	$(CC) -shared -o $(LIBTARGET) $(LIBOBJS)
 else
 	ar rcs $(LIBTARGET) $(LIBOBJS)
 endif