You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/04/29 21:51:14 UTC

git commit: TS-1864 Illumos / OmniOS needs -m64 with gcc to compile properly on 64-bit platforms. We also only support ATS on 64-bit Illumos.

Updated Branches:
  refs/heads/master 08ca473d0 -> 8a6a2487c


TS-1864 Illumos / OmniOS needs -m64 with gcc to compile properly on
64-bit platforms. We also only support ATS on 64-bit Illumos.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8a6a2487
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8a6a2487
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8a6a2487

Branch: refs/heads/master
Commit: 8a6a2487c577fe9434cf032cf30949635e5f2e13
Parents: 08ca473
Author: Leif Hedstrom <zw...@apache.org>
Authored: Mon Apr 29 13:50:57 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Mon Apr 29 13:50:57 2013 -0600

----------------------------------------------------------------------
 CHANGES      |    3 +++
 configure.ac |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8a6a2487/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index d0a6473..b17ba48 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
   Changes with Apache Traffic Server 3.3.3
 
 
+  *) [TS-1864] Illumos / OmniOS needs -m64 with gcc to compile properly on
+   64-bit platforms. We also only support ATS on 64-bit Illumos.
+
   *) [TS-1811] Make the HostDB sizes variable on the SRV enabled config.
    This restores compatibility with HostDB's prior to v3.3.1.
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8a6a2487/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 8d48401..e45d67c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -771,7 +771,7 @@ case $host_os in
         postdeps_CXX="-library=Crun"
       fi
     else # gcc
-      common_opt="-pipe -Wall -Werror"
+      common_opt="-pipe -Wall -Werror -m64"
       debug_opt="-ggdb3 $common_opt"
       release_opt="-g $common_opt $optimizing_flags -feliminate-unused-debug-symbols -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"