diff options
author | nakai <nakai@FreeBSD.org> | 2000-07-05 15:52:12 +0800 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-07-05 15:52:12 +0800 |
commit | f15e2126fc9073022c0ea920559761f006f0b98b (patch) | |
tree | 69e21fed0dc8ae3a588da8bc56631f5314e9800c /audio/gogo | |
parent | e214ad77266e16b6683b1b4af8ebb81ad923dcd2 (diff) | |
download | freebsd-ports-gnome-f15e2126fc9073022c0ea920559761f006f0b98b.tar.gz freebsd-ports-gnome-f15e2126fc9073022c0ea920559761f006f0b98b.tar.zst freebsd-ports-gnome-f15e2126fc9073022c0ea920559761f006f0b98b.zip |
Update for more simple.
Submitted by: FUJISHIMA Satsuki <k5@cheerful.com>
Diffstat (limited to 'audio/gogo')
-rw-r--r-- | audio/gogo/Makefile | 4 | ||||
-rw-r--r-- | audio/gogo/files/patch-ac | 32 |
2 files changed, 30 insertions, 6 deletions
diff --git a/audio/gogo/Makefile b/audio/gogo/Makefile index 925be383f3e4..585d1842dc1e 100644 --- a/audio/gogo/Makefile +++ b/audio/gogo/Makefile @@ -25,9 +25,7 @@ ONLY_FOR_ARCHS= i386 # A sample of heavily optimized CFLAGS(typically used with pgcc). # Recommended ONLY for benchmarks. -# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funrol - -MAKE_ENV= "CC=$(CC) -c $(CFLAGS)" "LD=$(CC)" +# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387 pre-fetch: .if !defined(USE_MT) diff --git a/audio/gogo/files/patch-ac b/audio/gogo/files/patch-ac index 875a08ed47c6..c14a0e4e7039 100644 --- a/audio/gogo/files/patch-ac +++ b/audio/gogo/files/patch-ac @@ -1,11 +1,11 @@ --- Makefile.orig Fri Apr 28 13:11:32 2000 -+++ Makefile Thu May 11 01:52:23 2000 -@@ -30,10 +30,10 @@ ++++ Makefile Mon Jul 3 01:49:47 2000 +@@ -30,15 +30,15 @@ endif # common definition -LD=gcc -+#LD=gcc ++LD=$(CC) #LD=gcc -Wl,-Map,gogo.map LIBS=-lm -CC=gcc -c -m486 -O3 -finline-functions -fomit-frame-pointer -funroll-loops @@ -13,3 +13,29 @@ # 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,... + #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: |