summaryrefslogtreecommitdiff
path: root/audio/toolame/patches/patch-ac
blob: 0303ef525284a1590984c62e114f7076f6b89a16 (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
33
34
35
36
37
38
39
40
$NetBSD: patch-ac,v 1.2 2005/07/30 11:30:03 grant Exp $

--- Makefile.orig	2003-03-02 18:07:02.000000000 +1100
+++ Makefile
@@ -1,5 +1,5 @@
 
-CC = gcc
+#CC = gcc
 
 c_sources = \
 	common.c \
@@ -28,7 +28,7 @@ OBJ = $(c_sources:.c=.o)
 
 #Uncomment this if you want to do some profiling/debugging
 #PG = -g -pg
-PG = -fomit-frame-pointer
+#PG = -fomit-frame-pointer
 
 # Optimize flag. 3 is about as high as you can sanely go with GCC3.2.
 OPTIM = -O3
@@ -37,7 +37,7 @@ OPTIM = -O3
 REQUIRED = -DNDEBUG -DINLINE=inline
 
 #pick your architecture
-ARCH = -march=pentium
+#ARCH = -march=pentium
 #Possible x86 architectures
 #gcc3.2 => i386, i486, i586, i686, pentium, pentium-mmx
 #          pentiumpro, pentium2, pentium3, pentium4, k6, k6-2, k6-3,
@@ -51,8 +51,8 @@ ARCH = -march=pentium
 #	-fschedule-insns2 -fno-strength-reduce
 
 #Set a stack of warnings to overcome my atrocious coding style . MFC.
-WARNINGS = -Wall
-WARNINGS2 = -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wredundant-decls
+#WARNINGS = -Wall
+#WARNINGS2 = -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wredundant-decls
 
 NEW_02L_FIXES = -DNEWENCODE -DNEWATAN