summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrancisco José García García2016-09-29 01:03:33 +0200
committerFrancisco José García García2016-09-29 01:03:33 +0200
commit24cbebe2de483639f83c16452375831f7994fab8 (patch)
tree0c3f1fc8046828fbc4111325a8b2ff776ee09f60 /Makefile
parente700ad78751555d0e7ec66c6b9b006853725fc19 (diff)
downloadpicogpsp-24cbebe2de483639f83c16452375831f7994fab8.tar.gz
picogpsp-24cbebe2de483639f83c16452375831f7994fab8.tar.bz2
picogpsp-24cbebe2de483639f83c16452375831f7994fab8.zip
(VITA) Change libco and some optimizations
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eccab17..9ddbd54 100644
--- a/Makefile
+++ b/Makefile
@@ -195,11 +195,13 @@ else ifeq ($(platform), vita)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = arm-vita-eabi-gcc$(EXE_EXT)
AR = arm-vita-eabi-ar$(EXE_EXT)
- CFLAGS += -DVITA -g
- CFLAGS += -mthumb -mcpu=cortex-a9 -mfloat-abi=hard
+ CFLAGS += -DVITA
+ CFLAGS += -mcpu=cortex-a9 -mfloat-abi=hard
CFLAGS += -Wall -mword-relocations
CFLAGS += -fomit-frame-pointer -ffast-math
- ASFLAGS += -mthumb -mcpu=cortex-a9
+ CFLAGS += -mword-relocations -fno-unwind-tables -fno-asynchronous-unwind-tables
+ CFLAGS += -ftree-vectorize -fno-optimize-sibling-calls
+ ASFLAGS += -mcpu=cortex-a9
STATIC_LINKING = 1
CPU_ARCH := arm