diff options
author | kris <kris@FreeBSD.org> | 1999-03-24 21:23:30 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 1999-03-24 21:23:30 +0800 |
commit | b9a10563d548176c95ff7c4b671dcb469fe01acb (patch) | |
tree | f1fa81518a7733d3112d38d4fe5fdd5779a637ec /audio | |
parent | f346293ff65c6262b4b5805ebdf9045e57a3d6a6 (diff) | |
download | freebsd-ports-gnome-b9a10563d548176c95ff7c4b671dcb469fe01acb.tar.gz freebsd-ports-gnome-b9a10563d548176c95ff7c4b671dcb469fe01acb.tar.zst freebsd-ports-gnome-b9a10563d548176c95ff7c4b671dcb469fe01acb.zip |
Respect CC and CFLAGS
Reviewed by: Maintainer
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/files/patch-aa | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa index 08ef372edf5c..058c6e5dc72d 100644 --- a/audio/mpg123/files/patch-aa +++ b/audio/mpg123/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Jan 26 14:35:18 1999 -+++ Makefile Mon Feb 1 14:01:26 1999 -@@ -247,24 +247,32 @@ +--- Makefile.orig Wed Jan 27 01:05:18 1999 ++++ Makefile Mon Mar 22 22:42:04 1999 +@@ -247,24 +247,27 @@ #CFLAGS='-DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g' #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2' @@ -10,34 +10,38 @@ +GETBITS=getbits_.o +.endif + ++CC ?= cc ++LDFLAGS = ++CFLAGS ?=-O4 -m486 ++CFLAGS +=-Wall -ansi -pedantic -fomit-frame-pointer \ ++ -funroll-all-loops -ffast-math -DROT_I386 \ ++ -DREAD_MMAP \ ++ -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS ++ freebsd: - $(MAKE) CC=cc LDFLAGS= \ +- $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o getbits_.o audio_oss.o' \ -+ OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_oss.o' \ - CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DREAD_MMAP \ +- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- -funroll-all-loops -ffast-math -DROT_I386 \ +- -DREAD_MMAP \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ -+ -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \ -+ $(CFLAGS)' \ ++ ${MAKE} OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_oss.o' \ mpg123-make - +- freebsd-frontend: - $(MAKE) CC=cc LDFLAGS= \ +- $(MAKE) CC=cc LDFLAGS= \ - OBJECTS='decode_i386.o dct64_i386.o getbits_.o audio_oss.o \ -+ OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_oss.o \ ++ $(MAKE) OBJECTS='decode_i386.o dct64_i386.o $(GETBITS) audio_oss.o \ control_sajber.o control_tk3play.o' \ - CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - -funroll-all-loops -ffast-math -DROT_I386 \ - -DFRONTEND \ +- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ +- -funroll-all-loops -ffast-math -DROT_I386 \ +- -DFRONTEND \ - -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS' \ -+ -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \ -+ $(CFLAGS)' \ $(FRONTEND) -@@ -414,7 +422,7 @@ +@@ -414,7 +417,7 @@ @ $(MAKE) BINNAME=mpg123m mpg123 mpg123-make: |