1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/audio/dap/files/patch-af
Oliver Lehmann 21c2e5ebec Update dap to 2.1.4
PR:		46783
Approved By:	alex (mentor)
2003-06-10 10:54:59 +00:00

23 lines
670 B
Plaintext

--- sound/Makefile.linux.orig Fri Jul 5 06:08:17 2002
+++ sound/Makefile.linux Sun Jan 5 22:27:56 2003
@@ -1,5 +1,5 @@
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
SPKIT = ../spkit
AUDIO = ../libaudio
AUDIOF = ../libaudiofile
@@ -8,9 +8,9 @@
HOMEDIR = $(HOME)
INCDIR = -I. -I.. -I$(SPKIT) -I$(MAINDIR)
LIBDIR = -L$(SPKIT)/spkit -L$(AUDIO) -L$(AUDIOF)
-CCFLAGS = $(DEBUG) $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
+CCFLAGS = $(OPTIM) -DNOFORMS -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
DEBUG = -g3
-OPTIM = -O1
+OPTIM = ${CXXFLAGS}
LDFLAGS = $(LIBDIR) -laudio -laudiofile -lm
PROGS = SampleTest