1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/dap/files/patch-af
Volker Stolz 83be251886 Update to 2.1.6
PR:		ports/67363
Submitted by:	Roman Neuhauser
2004-07-05 20:42:33 +00:00

23 lines
716 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) -I$(OTHER_INCLUDE_DIR)
LIBDIR = -L$(SPKIT)/spkit -L$(AUDIO) -L$(AUDIOF) -L$(OTHER_LIBRARY_DIR)
-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