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:
12
configure.ac
12
configure.ac
@ -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)
|
||||
|
Reference in New Issue
Block a user