summaryrefslogtreecommitdiff
path: root/Makefile.pandora
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2009-07-30 14:53:57 +0000
committerSam Lantinga <slouken@libsdl.org>2009-07-30 14:53:57 +0000
commit8a68fef79741fdd9997f391f208d86fe78ce4eb3 (patch)
tree5a3b8b2a4639a190e5e17370d9d9c8f7a9381d44 /Makefile.pandora
parent01700524c121e25e44b9d9f86ac2c1501211cb16 (diff)
Patch from David Carre:
I fixed a bug in the "SDL_DestroyRenderer()" function in the pandora x11 renderer (in fact the bug was in the "X11_GLES_MakeCurrent()" function) that was causing a crash when exiting SDL. There was a problem while terminating the x11 egl window, that was preventing to quit/close SDL/SDL-window then reload SDL/SDL-window inside the same application. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403715
Diffstat (limited to 'Makefile.pandora')
-rw-r--r--Makefile.pandora7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.pandora b/Makefile.pandora
index bd7dca18..24e4e0ba 100644
--- a/Makefile.pandora
+++ b/Makefile.pandora
@@ -8,7 +8,7 @@ STRIP = arm-none-linux-gnueabi-strip
CFLAGS = -O3 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp \
-mfpu=neon -ftree-vectorize -ffast-math -fomit-frame-pointer -fno-strict-aliasing -fsingle-precision-constant \
- -I./include -I$(PNDSDK)/usr/include
+ -I./include -I$(PNDSDK)/usr/include -DSDL_REVISION=0
TARGET = libSDL.a
@@ -24,14 +24,13 @@ SOURCES = ./src/*.c ./src/audio/*.c ./src/cdrom/*.c ./src/cpuinfo/*.c ./src/even
OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
+CONFIG_H = $(shell cp include/SDL_config_pandora.h include/SDL_config.h && touch include/SDL_revision.h)
+
all: $(TARGET)
$(TARGET): $(CONFIG_H) $(OBJECTS)
$(AR) crv $@ $^
$(RANLIB) $@
-$(CONFIG_H):
- cp include/SDL_config_pandora.h include/SDL_config.h
-
clean:
rm -f $(TARGET) $(OBJECTS)