Honor CFLAGS.

PR:		ports/9488
Submitted by:	Sheldon Hearn <axl@iafrica.com>
Reviewed by:	jkoshy
This commit is contained in:
Joseph Koshy 1999-01-15 05:34:03 +00:00
parent 315dc15d01
commit 729d475280
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16061

View file

@ -14,7 +14,7 @@
OBJECTS='decode_i386.o dct64_i386.o getbits_.o audio_oss.o' \ OBJECTS='decode_i386.o dct64_i386.o getbits_.o audio_oss.o' \
- CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \ - CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \ - -funroll-all-loops -ffast-math -DROT_I386 \
+ CFLAGS+='-Wall -O2 -ansi -pedantic -fomit-frame-pointer \ + CFLAGS+='$(CFLAGS) -Wall -O2 -ansi -pedantic -fomit-frame-pointer \
+ -funroll-all-loops -ffast-math -DROT_I386 -DREAD_MMAP \ + -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' \
+ mpg123-make + mpg123-make
@ -22,7 +22,7 @@
+freebsd-elf: +freebsd-elf:
+ $(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.o audio_oss.o' \
+ CFLAGS+='-Wall -O2 -ansi -pedantic -fomit-frame-pointer \ + CFLAGS+='$(CFLAGS) -Wall -O2 -ansi -pedantic -fomit-frame-pointer \
+ -funroll-all-loops -ffast-math -DROT_I386 -DREAD_MMAP \ + -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' \
mpg123-make mpg123-make