summaryrefslogtreecommitdiff
path: root/games/libshhcards/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/libshhcards/files/patch-aa')
-rw-r--r--games/libshhcards/files/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/libshhcards/files/patch-aa b/games/libshhcards/files/patch-aa
new file mode 100644
index 000000000000..3e8689482157
--- /dev/null
+++ b/games/libshhcards/files/patch-aa
@@ -0,0 +1,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