notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use gas-preprocessor for ios
[pcsx_rearmed.git]
/
Makefile.libretro
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
d8288f5
..
f006409
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-27,6
+27,7
@@
endif
CC ?= gcc
CXX ?= g++
AS ?= as
CC ?= gcc
CXX ?= g++
AS ?= as
+CC_AS ?= $(CC)
ifeq ($(platform), unix)
TARGET := snes9x_next_libretro.so
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 = 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
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
@rm $@_
%.o: %.S
- $(CC) $(CFLAGS) -c $^ -o $@
+ $(CC
_AS
) $(CFLAGS) -c $^ -o $@
%.o: %.s
$(CC) $(ASFLAGS) -c $^ -o $@
%.o: %.s
$(CC) $(ASFLAGS) -c $^ -o $@