mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Fix for ppc processors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -24,7 +24,11 @@ LIB_TARGET_DIR = .
|
|||||||
WARNINGS = -Wall -Wno-comment -Wno-error
|
WARNINGS = -Wall -Wno-comment -Wno-error
|
||||||
CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS)
|
CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS)
|
||||||
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
|
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
|
||||||
CFLAGS+= -march=$(PROC)
|
|
||||||
|
#fix for PPC processors
|
||||||
|
ifneq ($(PROC),ppc)
|
||||||
|
CFLAGS+= -march=$(PROC)
|
||||||
|
endif
|
||||||
|
|
||||||
LIB = $(LIB_TARGET_DIR)/liblpc10.a
|
LIB = $(LIB_TARGET_DIR)/liblpc10.a
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user