From: mpv Date: Thu, 12 Oct 2006 12:30:27 +0000 (+0000) Subject: MPV: Add '-m64' flag for all C and C++ compilation flags for 64bit platforms X-Git-Tag: V3_2_3pre1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce8394ca89c9830cf59119c2d125905263ac8290;p=modules%2Fkernel.git MPV: Add '-m64' flag for all C and C++ compilation flags for 64bit platforms --- diff --git a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 index f7e7c771c..9849f3653 100644 --- a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 +++ b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 @@ -70,9 +70,13 @@ esac case $host_os in linux*) - test x"$linux64" = x"true" && \ - MACHINE="PCLINUX64${SUFFIXES}" || \ - MACHINE=PCLINUX + if test x"$linux64" = x"true"; then \ + MACHINE="PCLINUX64${SUFFIXES}"; + CFLAGS=" -m64 ${CXXFLAGS}"; + CXXFLAGS=" -m64 ${CXXFLAGS}";\ + else \ + MACHINE=PCLINUX; \ + fi ;; hpux*) MACHINE=HP9000