libgme: fix mips* build
This commit is contained in:
parent
dc2a1eefd2
commit
96b35b92a4
|
@ -13,6 +13,13 @@ homepage="https://bitbucket.org/mpyne/game-music-emu/wiki/Home"
|
|||
distfiles="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-${version}.tar.xz"
|
||||
checksum=aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d
|
||||
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||
CXXFLAGS="-DMSB_FIRST=1"
|
||||
fi
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
|
||||
CXXFLAGS="-DLSB_FIRST=1"
|
||||
fi
|
||||
|
||||
libgme-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue