chiark / gitweb /
PORT 22
[stressapptest] / configure.ac
index 8a0eb265556eda870dcbc885b78c0a85128513c5..06b586850f3fe675de33be4b35dd947f4aab3474 100644 (file)
@@ -1,9 +1,9 @@
 AC_PREREQ(2.61)
-AC_INIT([stressapptest], [1.0.7_autoconf], [opensource@google.com])
+AC_INIT([stressapptest], [1.0.8_autoconf], [opensource@google.com])
 
 AC_ARG_WITH(static, [  --with-static            enable static linking])
 
-if test "$with_static" == "yes"
+if test "$with_static" = "yes"
 then
   AC_MSG_NOTICE([Compiling with staticaly linked libraries.])
   LIBS="$LIBS -static"
@@ -31,7 +31,11 @@ AS_CASE(["$host_cpu"],
     AC_DEFINE([STRESSAPPTEST_CPU_ARMV7A],[],
               [Defined if the target CPU is armv7a])
     ], 
-  [AC_MSG_WARN([Unsupported CPU: $host_cpu! Try x86_64, i686, powerpc, or armv7a])]
+  [*aarch64*], [
+    AC_DEFINE([STRESSAPPTEST_CPU_AARCH64],[],
+              [Defined if the target CPU is aarch64])
+    ],
+[AC_MSG_WARN([Unsupported CPU: $host_cpu! Try x86_64, i686, powerpc, armv7a, or aarch64])]
 )
 
 ## The following allows like systems to share settings. This is not meant to
@@ -93,7 +97,7 @@ AC_ARG_ENABLE([default-optimizations],
 AS_IF([test x"$enable_default_optimizations" != xno], [
     #Default cxxflags
     CXXFLAGS="$CXXFLAGS -DCHECKOPTS"
-    CXXFLAGS="$CXXFLAGS -Wreturn-type -Wunused -Wuninitialized -Wall -Wno-psabi"
+    CXXFLAGS="$CXXFLAGS -Wreturn-type -Wunused -Wuninitialized -Wall"
     CXXFLAGS="$CXXFLAGS -O3 -funroll-all-loops  -funroll-loops -DNDEBUG"
 ])