summaryrefslogtreecommitdiff
path: root/audio/tfmxplay/patches/patch-aa
blob: a277b07b845aecc2efe8e2bcbd0a047d06a8fa0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $

--- Makefile.orig	Sat Jun 23 13:33:05 2001
+++ Makefile
@@ -28,8 +28,8 @@
 
 OBJS=player.o tfmx.o audio.o
 
-CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
-LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS)
+#CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS)
+LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) -lossaudio
 
 
 BINARY=tfmx-play
@@ -42,7 +42,7 @@
 audio.c:	player.h
 
 audio.o: audio.c
-	$(CC) $(CFLAGS) -O3 -fno-strength-reduce -c audio.c -o audio.o $(ALSADEF)
+	$(CC) $(CFLAGS) -c audio.c -o audio.o $(ALSADEF)
 
 clean:
 	rm -rf *.o $(BINARY)