Merge pull request #264 from Beuc/sdl_gfx

sdl_gfx: 64-bit support
This commit is contained in:
Tony Theodore 2013-10-21 18:19:02 -07:00
commit 34cfaa88d3
1 changed files with 5 additions and 3 deletions

View File

@ -17,10 +17,14 @@ define $(PKG)_UPDATE
head -1
endef
# --disable-mmx: the GCC ASM never worked properly (segfaults), and
# doesn't compile on 64bit. This is fixed for the future SDL2_gfx:
# http://sourceforge.net/p/sdl2gfx/code/HEAD/tree/trunk/SDL2_imageFilter.c
# No plans for SDL(1)_gfx, but see https://gitorious.org/sdlgfx/asm/
define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi -I'$(PREFIX)/$(TARGET)/share/aclocal'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-mmx \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--with-sdl-prefix='$(PREFIX)/$(TARGET)'
@ -31,5 +35,3 @@ define $(PKG)_BUILD
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_gfx.exe' \
`'$(TARGET)-pkg-config' SDL_gfx --cflags --libs`
endef
$(PKG)_BUILD_x86_64-w64-mingw32 =