From 297b3d633ad25797a4f355c57964b7ce3aee6936 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 4 Jan 2011 19:40:25 +0200 Subject: try to ensure fbdev buffer is valid --- plugins/gpu_unai/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/gpu_unai/Makefile') 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 -- cgit v1.2.3