X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile.libretro;h=f006409ed3c6943ba3a1dfb8c9508b1939f1740a;hp=d8288f50ec7fe40178104a887c35a85d6879cd19;hb=8ad07683d79468d24a5adf3eaf8150cd63982aeb;hpb=f23d33868c571ef2a9206223530292e9c3c2709c diff --git a/Makefile.libretro b/Makefile.libretro index d8288f50..f006409e 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -27,6 +27,7 @@ endif CC ?= gcc CXX ?= g++ AS ?= as +CC_AS ?= $(CC) ifeq ($(platform), unix) TARGET := snes9x_next_libretro.so @@ -44,6 +45,7 @@ ARCH := arm CC = clang -arch armv7 -isysroot $(IOSSDK) CXX = clang++ -arch armv7 -isysroot $(IOSSDK) +CC_AS = perl ./tools/gas-preprocessor.pl $(CC) CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon HAVE_NEON = 1 @@ -228,7 +230,7 @@ frontend/revision.h: FORCE @rm $@_ %.o: %.S - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC_AS) $(CFLAGS) -c $^ -o $@ %.o: %.s $(CC) $(ASFLAGS) -c $^ -o $@