diff options
author | grant <grant> | 2005-07-30 11:30:03 +0000 |
---|---|---|
committer | grant <grant> | 2005-07-30 11:30:03 +0000 |
commit | 0aa6a574510cf0205a44fcd8e311f6c5a28411d4 (patch) | |
tree | 515bd5e86647e8ddaecaf1c6866fe82f7c99a30a /audio/toolame/patches/patch-ac | |
parent | a06229098f94c9779cedf23d26cfd75cb94988ee (diff) | |
download | pkgsrc-0aa6a574510cf0205a44fcd8e311f6c5a28411d4.tar.gz |
- don't pass gcc specific arguments
- don't use static variables in inline functions
fixes build with sunpro.
Diffstat (limited to 'audio/toolame/patches/patch-ac')
-rw-r--r-- | audio/toolame/patches/patch-ac | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/audio/toolame/patches/patch-ac b/audio/toolame/patches/patch-ac index 07d2df9374c..0303ef52528 100644 --- a/audio/toolame/patches/patch-ac +++ b/audio/toolame/patches/patch-ac @@ -1,11 +1,40 @@ -$NetBSD: patch-ac,v 1.1 2003/09/23 21:32:16 dmcmahill Exp $ +$NetBSD: patch-ac,v 1.2 2005/07/30 11:30:03 grant Exp $ ---- Makefile.orig Sun Mar 2 07:07:02 2003 -+++ Makefile Tue Sep 23 21:28:07 2003 -@@ -38,5 +38,5 @@ +--- 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 + |