summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTwinaphex2016-09-29 01:39:22 +0200
committerGitHub2016-09-29 01:39:22 +0200
commit8fc1be1840221e32534964dc35ebf046d6a2fcda (patch)
tree0c3f1fc8046828fbc4111325a8b2ff776ee09f60 /Makefile
parente700ad78751555d0e7ec66c6b9b006853725fc19 (diff)
parent24cbebe2de483639f83c16452375831f7994fab8 (diff)
downloadpicogpsp-8fc1be1840221e32534964dc35ebf046d6a2fcda.tar.gz
picogpsp-8fc1be1840221e32534964dc35ebf046d6a2fcda.tar.bz2
picogpsp-8fc1be1840221e32534964dc35ebf046d6a2fcda.zip
Merge pull request #30 from frangarcj/master
(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