aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu-gles/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-gles/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-gles/Makefile')
-rw-r--r--plugins/gpu-gles/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gpu-gles/Makefile b/plugins/gpu-gles/Makefile
index fdefb08..1110151 100644
--- a/plugins/gpu-gles/Makefile
+++ b/plugins/gpu-gles/Makefile
@@ -8,8 +8,10 @@ CROSS_COMPILE ?= arm-none-linux-gnueabi-
#CC = $(PREFIX)/bin/$(CROSS_COMPILE)gcc
CC = $(CROSS_COMPILE)gcc
-CFLAGS += -fPIC # -Wall
+CFLAGS += -fPIC -ggdb # -Wall
+ifndef DEBUG
CFLAGS += -O3 -ffast-math -fomit-frame-pointer
+endif
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8
# note: the below causes strange bugs/crashes
#CFLAGS += -mfloat-abi=softfp