summaryrefslogtreecommitdiffstats
path: root/audio/gogo/files/patch-ac
blob: 86d9e379437ae661f9d00a839137b1f50d10353c (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
25
26
27
28
29
30
31
32
--- Makefile.orig	Sat Jan  6 22:36:06 2001
+++ Makefile	Sun Jan  7 06:15:55 2001
@@ -12,8 +12,8 @@
 # This option is available for gcc-2.8.x
 #CC=gcc -c -mcpu=pentiumpro -malign-double -O6 -fstrength-reduce -fexpensive-optimizations  -finline-functions -fomit-frame-pointer -funroll-loops
 # This option is available for gcc-2.95.1, gcc-2.95.2, gcc-2.95.3,... on P6 or later
 #CC=gcc -c -mcpu=pentiumpro -march=pentiumpro -O9 -fstrength-reduce -fexpensive-optimizations -finline-functions -fomit-frame-pointer -funroll-loops -ffast-math -foptimize-register-move -fdefer-pop -mfancy-math-387
-CFLAGS=-Wall $(PROF) -DNDEBUG $(E3DN) $(VBR) -DRAW_INPUT
+CFLAGS+=-Wall $(PROF) -DNDEBUG $(E3DN) $(VBR) -DRAW_INPUT
 
 
 # OS specific definition
@@ -62,8 +62,8 @@
 ifeq ($(OS),FreeBSD)
 	CFLAGS+= -DDISPLAY_REALTIME
 	ifeq ($(USE_MT),yes)
-		LIBS+= -L/usr/local/lib -llthread -llgcc_r
-		CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
+		LIBS+= -L${LOCALBASE}/lib -llthread -llgcc_r
+		CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
 	endif
 endif
 ifeq ($(OS),OpenBSD)
@@ -110,7 +110,7 @@
 #	$(AS) $(ASFLAGS) $< -o $@
 
 .c.o:
-	$(CC) $(CFLAGS) $<
+	$(CC) -c $(CFLAGS) $<
 
 
 clean:
OpenPOWER on IntegriCloud