X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_unai%2FMakefile;fp=plugins%2Fgpu_unai%2FMakefile;h=636c31bf1c29d73944bababe9e46e0c4921aed6a;hp=92f7ade463fc801d874659ce8d6996577a390a92;hb=297b3d633ad25797a4f355c57964b7ce3aee6936;hpb=61363062a18cd8382932310e8072fc06f5c8eeb5 diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile index 92f7ade4..636c31bf 100644 --- a/plugins/gpu_unai/Makefile +++ b/plugins/gpu_unai/Makefile @@ -1,7 +1,9 @@ CC = $(CROSS_COMPILE)gcc -CFLAGS += -fPIC -Wall -DREARMED +CFLAGS += -ggdb -fPIC -Wall -DREARMED +ifndef DEBUG CFLAGS += -O2 -ffast-math -fomit-frame-pointer +endif CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp # -fschedule-insns (from -O2+) causes bugs, probably bad asm() statements CFLAGS += -fno-schedule-insns -fno-schedule-insns2