? .Makefile.swp Index: channels/h323/Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/channels/h323/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- channels/h323/Makefile 30 Sep 2004 19:30:49 -0000 1.18 +++ channels/h323/Makefile 9 Oct 2004 04:53:51 -0000 @@ -22,7 +22,9 @@ OSARCH=$(shell uname -s) ifneq (${OSARCH},FreeBSD) ifneq (${OSARCH},NetBSD) -CFLAGS += -march=$(shell uname -m) +ifneq ($(PROC),ultrasparc) +CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi) +endif endif endif CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN