diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile index 61d87740c7..bf7f11b3f7 100755 --- a/codecs/lpc10/Makefile +++ b/codecs/lpc10/Makefile @@ -24,7 +24,11 @@ LIB_TARGET_DIR = . WARNINGS = -Wall -Wno-comment -Wno-error CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) #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