subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1845698 - /subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh
Date Sat, 03 Nov 2018 22:33:02 GMT
Author: brane
Date: Sat Nov  3 22:33:02 2018
New Revision: 1845698

URL: http://svn.apache.org/viewvc?rev=1845698&view=rev
Log:
* tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh: Fix warnings build setup.

Modified:
    subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh

Modified: subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh?rev=1845698&r1=1845697&r2=1845698&view=diff
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh (original)
+++ subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh Sat Nov  3 22:33:02
2018
@@ -45,13 +45,11 @@ fi
 if [ "$2" = "warnings" ]; then
     parallel=1
     maintainer_mode=' --enable-maintainer-mode'
-    config_cflags=" CFLAGS='"
-    config_cflags="${config_cflags} -Wno-deprecated-declarations"
+    config_cflags="-Wno-deprecated-declarations"
     config_cflags="${config_cflags} -DPACK_AFTER_EVERY_COMMIT"
     config_cflags="${config_cflags} -DSVN_UNALIGNED_ACCESS_IS_OK=0"
     config_cflags="${config_cflags} -DSUFFIX_LINES_TO_KEEP=0"
     config_cflags="${config_cflags} -DSVN_DEPRECATED="
-    config_cflags="${config_cflags}'"
 else
     parallel=${SVNBB_PARALLEL}
 fi
@@ -100,8 +98,8 @@ fi
 
 echo "============ configure"
 cd ${absbld}
-env CC=clang${config_cflags} \
-    CXX=clang++${config_cxxflags} \
+env CC=clang CFLAGS="${config_cflags}" \
+    CXX=clang++ CXXFLAGS="${config_cxxflags}" \
     LDFLAGS='-Wl,-w' \
 ${abssrc}/configure \
     --prefix="${absbld}/.install-prefix" \



Mime
View raw message