]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
MPV: Add '-m64' flag for all C and C++ compilation flags for 64bit platforms
authormpv <mpv@opencascade.com>
Thu, 12 Oct 2006 12:30:27 +0000 (12:30 +0000)
committermpv <mpv@opencascade.com>
Thu, 12 Oct 2006 12:30:27 +0000 (12:30 +0000)
salome_adm/unix/config_files/ac_cxx_depend_flag.m4

index f7e7c771cf7df31da487303a9306d0f221c7dc79..9849f3653c80bb0933e1897d41a5debf9f97a1a5 100644 (file)
@@ -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