diff options
Diffstat (limited to 'codecs/lpc10')
-rwxr-xr-x | codecs/lpc10/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile index e9dbd9d02..af8d907f6 100755 --- a/codecs/lpc10/Makefile +++ b/codecs/lpc10/Makefile @@ -25,14 +25,16 @@ WARNINGS = -Wall -Wno-comment -Wno-error CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC #CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi) -#fix for PPC processors +#fix for PPC processors and ALPHA too ifneq ($(OSARCH),Darwin) ifneq ($(PROC),ppc) ifneq ($(PROC),x86_64) +ifneq ($(PROC),alpha) CFLAGS+= -march=$(PROC) endif endif endif +endif LIB = $(LIB_TARGET_DIR)/liblpc10.a |