diff -uNr libpri-1.4.9.ORIG/Makefile libpri-1.4.9/Makefile --- libpri-1.4.9.ORIG/Makefile 2009-03-10 17:43:45.000000000 +0000 +++ libpri-1.4.9/Makefile 2009-03-10 17:44:00.000000000 +0000 @@ -43,7 +43,7 @@ DYNAMIC_LIBRARY:=libpri.so.$(SONAME) STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo -CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) +CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) INSTALL_PREFIX=$(DESTDIR) INSTALL_BASE=/usr libdir?=$(INSTALL_BASE)/lib @@ -69,14 +69,6 @@ PRIVERSION:=$(shell GREP=$(GREP) AWK=$(AWK) build_tools/make_version .) -#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only. -#This works for even old (2.96) versions of gcc and provides a small boost either way. -#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesnt support it. -ifeq ($(PROC),sparc64) -PROC=ultrasparc -CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8 -endif - all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) update: