aboutsummaryrefslogtreecommitdiff
path: root/audio/dap/files/patch-ag
blob: 30506e7bd9bc3ca950dc913fd644bf2bc5c8c119 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- libaudiofile/Makefile.linux.orig	Sun Jul  1 13:45:51 2001
+++ libaudiofile/Makefile.linux	Sun Jul  1 13:46:27 2001
@@ -1,11 +1,11 @@
-CC      = gcc
-CXX     = g++
+CC      ?= gcc
+CXX     ?= g++
 BACKDIR = ../bak/libaudiofile
 HOMEDIR = $(HOME)
 INCDIR  = -I. -I$(OTHER_INCLUDE_DIR)
-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
+CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall -Wno-unused
 DEBUG   = -g3
-OPTIM   = -O1
+OPTIM   = ${CXXFLAGS}
 
 LIBNAME = libaudiofile.a
 OBJS    = audiofile.o ieee.o macros.o raw.o wav.o