1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Avoid hardcoding -D__LITTLE_ENDIAN__
Partially fixes problems building on big-endian architectures by not
hardcoding little-endian flag. Should be coupled with build-time
endian detection.
Author: Laurent Bigonville <bigon@debian.org>
Bug-Debian: http://bugs.debian.org/660151
Forwarded: no
Reviewed-By: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2012-04-06
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@
[AC_SUBST(STK_LIBS," -lstk -lrtmidi -lrt -lm")],
[AC_MSG_ERROR([libstk is not installed: alsa])])
LIBS=$SAVED_LIBS # restore them
-AC_SUBST(STK_CXXFLAGS, "-D__LINUX_ALSA__ -D__UNIX_JACK__ -D__LITTLE_ENDIAN__")
+AC_SUBST(STK_CXXFLAGS, "-D__LINUX_ALSA__ -D__UNIX_JACK__")
AC_LANG_POP(C++)
|