X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=600a1d3aa62ce73b7652b1e3e6b0a9a970987b93;hb=d4ee47f3f4d639d551b187e3eef39490fa859758;hp=dc4e07da9a9f881d2661761149ec598acf2d73f0;hpb=0f97d2d8b4a9ce8aba382a922f13d3f6e32dadcb;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index dc4e07da..600a1d3a 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,12 @@ CFLAGS += -Wall -Iinclude -ffast-math ifeq ($(DEBUG), 1) CFLAGS += -O0 -ggdb else +ifeq ($(platform), vita) +CFLAGS += -O3 -DNDEBUG +else CFLAGS += -O2 -DNDEBUG endif +endif CXXFLAGS += $(CFLAGS) #DRC_DBG = 1 #PCNT = 1 @@ -67,7 +71,6 @@ endif OBJS += libpcsxcore/new_dynarec/emu_if.o libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/assem_arm.c \ libpcsxcore/new_dynarec/pcsxmem_inline.c -libpcsxcore/new_dynarec/new_dynarec.o: CFLAGS += -Wno-all -Wno-pointer-sign ifdef DRC_DBG libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -DDRC_DBG