aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/lpc10/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/lpc10/Makefile')
-rwxr-xr-xcodecs/lpc10/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 61d87740c..bf7f11b3f 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