$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