X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fgpu_unai%2FMakefile;h=a89ca6bfae95549f1cb74aef7ed641108da850ce;hb=de38f20e0863e33a2a824380da5aa46b1dc39631;hp=92f7ade463fc801d874659ce8d6996577a390a92;hpb=7c49c8a2a0cd00c453425b0f88c7b117223c92f4;p=pcsx_rearmed.git diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile index 92f7ade4..a89ca6bf 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 @@ -9,6 +11,8 @@ CFLAGS += -fno-schedule-insns -fno-schedule-insns2 TARGET = gpuPCSX4ALL.so LDFLAGS += -shared -Wl,-soname,$(TARGET) +-include Makefile.local + all: $(TARGET) $(TARGET): gpu.cpp ../../frontend/arm_utils.s