aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/Makefile
diff options
context:
space:
mode:
authornotaz2011-01-04 19:40:25 +0200
committernotaz2011-01-04 19:40:25 +0200
commit297b3d633ad25797a4f355c57964b7ce3aee6936 (patch)
tree044c2a978273a8e674d004977944d5b83360640a /plugins/gpu_unai/Makefile
parent61363062a18cd8382932310e8072fc06f5c8eeb5 (diff)
downloadpcsx_rearmed-297b3d633ad25797a4f355c57964b7ce3aee6936.tar.gz
pcsx_rearmed-297b3d633ad25797a4f355c57964b7ce3aee6936.tar.bz2
pcsx_rearmed-297b3d633ad25797a4f355c57964b7ce3aee6936.zip
try to ensure fbdev buffer is valid
Diffstat (limited to 'plugins/gpu_unai/Makefile')
-rw-r--r--plugins/gpu_unai/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile
index 92f7ade..636c31b 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