freebsd-ports/net/asterisk/files/patch-codecs::lpc10::Makefile
Maxim Sobolev 962d6e05b4 - Update to 0.9.0;
- add optional support for building with Zaptel module.
2004-04-30 05:21:08 +00:00

32 lines
702 B
Text

$FreeBSD$
--- codecs/lpc10/Makefile.orig Mon Mar 15 18:52:28 2004
+++ codecs/lpc10/Makefile Wed Apr 14 22:13:47 2004
@@ -3,7 +3,7 @@
#
# default C compiler
-CC= gcc
+CC?= gcc
#
# These definitions for CFLAGS and LIB_TARGET_DIR are used when one
@@ -22,7 +22,7 @@
#
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 and ALPHA too
@@ -30,7 +30,7 @@
ifneq ($(PROC),ppc)
ifneq ($(PROC),x86_64)
ifneq ($(PROC),alpha)
- CFLAGS+= -march=$(PROC)
+ CFLAGS+=
endif
endif
endif