diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-10-17 11:22:52 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-10-17 11:22:52 +0000 |
commit | f01a970a4ec80d0f3ed1b1bdb091b764dcbde9b2 (patch) | |
tree | 0aca8a0e8a5d8ec07e8780b50ba45ca50b749e1f /net/asterisk16/files/patch-codecs::lpc10::Makefile | |
parent | a50ad34b6aeed8329502f312a934da08872c84cb (diff) |
Notes
Diffstat (limited to 'net/asterisk16/files/patch-codecs::lpc10::Makefile')
-rw-r--r-- | net/asterisk16/files/patch-codecs::lpc10::Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/asterisk16/files/patch-codecs::lpc10::Makefile b/net/asterisk16/files/patch-codecs::lpc10::Makefile new file mode 100644 index 000000000000..43138eb093d9 --- /dev/null +++ b/net/asterisk16/files/patch-codecs::lpc10::Makefile @@ -0,0 +1,29 @@ + +$FreeBSD$ + +--- codecs/lpc10/Makefile.orig Sun Apr 27 21:13:11 2003 ++++ codecs/lpc10/Makefile Fri Oct 17 12:07:20 2003 +@@ -3,7 +3,7 @@ + # + + # default C compiler +-CC= gcc ++CC?= gcc + + # + # These definitions for CFLAGS and LIB_TARGET_DIR are used when one +@@ -22,12 +22,12 @@ + # + + WARNINGS = -Wall -Wno-comment -Wno-error +-CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC ++CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC + #CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi) + + #fix for PPC processors + ifneq ($(PROC),ppc) +- CFLAGS+= -march=$(PROC) ++ CFLAGS+= + endif + + LIB = $(LIB_TARGET_DIR)/liblpc10.a |