mirror of https://git.wownero.com/dsc/mxe.git
commit
34cfaa88d3
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue