https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines
don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30297
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ifeq (, $(findstring $(OSARCH) , Darwin SunOS ))
ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm ppc ppc64 ia64 ))
ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l ))
+ifneq (${PROC},s390)
OPTIMIZE+=-march=$(PROC)
endif
endif