J'en ai marre! J'ai fait les modifications dans le code de MUD que D. Arseneau a proposé. Au moins il est possible maintenant d'utiliser l'architecture EM64T.

This commit is contained in:
Bastian M. Wojek
2010-01-23 15:12:15 +00:00
parent a9ea0160a3
commit 3b3521eccf
7 changed files with 60 additions and 27 deletions

View File

@ -493,7 +493,16 @@ dnl -----------------------------------------------
dnl Set host specific compiler and linker flags
dnl -----------------------------------------------
LOCAL_BIN_CXXFLAGS="-Wall -Wno-trigraphs"
case "${host_cpu}" in
x86_64)
CPUFLAGS="-m64 -fPIC -DPIC"
;;
*)
CPUFLAGS=
;;
esac
LOCAL_BIN_CXXFLAGS="${CPUFLAGS} -Wall -Wno-trigraphs"
LOCAL_LIB_CXXFLAGS="${LOCAL_BIN_CXXFLAGS}"
LOCAL_PSIBIN_LIB_CXXFLAGS="${LOCAL_LIB_CXXFLAGS}"
LOCAL_MUD_LIB_CXXFLAGS="${LOCAL_LIB_CXXFLAGS}"
@ -522,6 +531,7 @@ case "$host" in
;;
esac
AC_SUBST(LOCAL_BIN_CXXFLAGS)
AC_SUBST(LOCAL_LIB_CXXFLAGS)
AC_SUBST(LOCAL_PSIBIN_LIB_CXXFLAGS)