aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/lpc10/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/lpc10/Makefile')
-rwxr-xr-xcodecs/lpc10/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 83ffc225b..5e04d5f73 100755
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -26,9 +26,11 @@ CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
#fix for PPC processors
+ifneq ($(OSARCH),Darwin)
ifneq ($(PROC),ppc)
CFLAGS+= -march=$(PROC)
endif
+endif
LIB = $(LIB_TARGET_DIR)/liblpc10.a