[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Mon Jun 22 05:44:47 UTC 2020


The branch, master has been updated
       via  d8d2d716 Get the g++ version to see if it is really clang.
      from  6a9adabf Mention the early-input on stdin.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d8d2d71663c93cf72f698842074f66f7d548c0da
Author: Wayne Davison <wayne at opencoder.net>
Date:   Sun Jun 21 22:34:32 2020 -0700

    Get the g++ version to see if it is really clang.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/configure.ac b/configure.ac
index 135a7e85..df0d8903 100644
--- a/configure.ac
+++ b/configure.ac
@@ -250,7 +250,9 @@ if test x"$SIMD" != x""; then
     SIMD='$(SIMD_'"$SIMD)"
     # We only use c++ for its target attribute dispatching, disable unneeded bulky features
     CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-rtti"
-    case "$CXX" in
+    # Apple often has "g++" as a symlink for clang. Try to find out the truth.
+    CXX_VERSION=`$CXX --version 2>/dev/null | head -n 2`
+    case "$CXX_VERSION" in
     *clang*) CXXFLAGS="$CXXFLAGS -fno-slp-vectorize" ;; # avoid a performance hit
     esac
 else


-- 
The rsync repository.



More information about the rsync-cvs mailing list