aboutsummaryrefslogtreecommitdiff
path: root/audio/dap/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dap/files/patch-af')
-rw-r--r--audio/dap/files/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/dap/files/patch-af b/audio/dap/files/patch-af
new file mode 100644
index 000000000000..21ae8a47d2e6
--- /dev/null
+++ b/audio/dap/files/patch-af
@@ -0,0 +1,19 @@
+--- sound/Makefile.linux.orig Sat Oct 2 09:22:30 1999
++++ sound/Makefile.linux Sat Oct 2 09:22:52 1999
+@@ -1,5 +1,5 @@
+-CC = gcc
+-CXX = g++
++CC ?= gcc
++CXX ?= g++
+ FORMS = ../../xforms/FORMS
+ SPKIT = ../spkit
+ AUDIO = ../libaudio
+@@ -9,7 +9,7 @@
+ HOMEDIR = $(HOME)
+ INCDIR = -I. -I.. -I$(SPKIT) -I$(MAINDIR)
+ LIBDIR = -L$(SPKIT)/spkit -L$(AUDIO) -L$(AUDIOF)
+-CCFLAGS = -O1 -g3 -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall
++CCFLAGS = ${CXXFLAGS} -DNOFORMS -DLINUX -DUSINGGCC -Wall
+ LDFLAGS = $(LIBDIR) -ldsp -laudio -laudiofile -lm
+
+ PROGS = SampleTest