[Asterisk-cvs] asterisk/codecs/gsm Makefile,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Mon Oct 27 13:34:34 CST 2003
Update of /usr/cvsroot/asterisk/codecs/gsm
In directory mongoose.digium.com:/tmp/cvs-serv7238/codecs/gsm
Modified Files:
Makefile
Log Message:
More cleanups and OSX fixes for 10.3
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 27 Sep 2003 02:45:37 -0000 1.5
+++ Makefile 27 Oct 2003 20:00:41 -0000 1.6
@@ -37,6 +37,10 @@
######### ppro's, etc, as well as the AMD K6 and K7. The compile will
######### probably require gcc.
+ifneq (${OSARCH},Darwin)
+OPTIMIZE+=-march=$(PROC)
+endif
+
PG =
#PG = -g -pg
######### Profiling flags. If you don't know what that means, leave it blank.
@@ -54,7 +58,7 @@
# CC = /usr/lang/acc
# CCFLAGS = -c -O
-CC = gcc $(OPTIMIZE) -march=$(PROC) -fomit-frame-pointer
+CC = gcc $(OPTIMIZE) -fomit-frame-pointer
CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC
LD = $(CC)
@@ -189,7 +193,7 @@
$(SRC)/gsm_option.c \
$(SRC)/short_term.c \
$(SRC)/table.c
-ifneq (${OSARCH},OpenBSD)
+ifeq (${OSARCH},Linux)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
@@ -236,7 +240,7 @@
$(SRC)/gsm_option.o \
$(SRC)/short_term.o \
$(SRC)/table.o
-ifneq (${OSARCH},OpenBSD)
+ifeq (${OSARCH},Linux)
GSM_OBJECTS+= $(SRC)/k6opt.o
endif
More information about the svn-commits
mailing list