You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ja...@apache.org on 2015/12/29 16:53:22 UTC
svn commit: r1722164 - /subversion/trunk/configure.ac
Author: jamessan
Date: Tue Dec 29 15:53:22 2015
New Revision: 1722164
URL: http://svn.apache.org/viewvc?rev=1722164&view=rev
Log:
Filter out -Wdate-time from SWIG_CPPFLAGS
As part of the reproducible builds effort[0], it's becoming more common to see
-Wdate-time in CPPFLAGS, which is used to seed SWIG_CPPFLAGS. Swig doesn't
understand this switch, so continue the current whack-a-mole approach of
filtering out unsupported switches in SWIG_CPPFLAGS.
[0]: https://reproducible-builds.org/
* configure.ac
(SWIG_CPPFLAGS): Filter out -Wdate-time
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1722164&r1=1722163&r2=1722164&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Tue Dec 29 15:53:22 2015
@@ -1518,6 +1518,7 @@ fi
# Need to strip '-no-cpp-precomp' from CPPFLAGS for SWIG as well.
SWIG_CPPFLAGS="$CPPFLAGS"
SVN_STRIP_FLAG(SWIG_CPPFLAGS, [-no-cpp-precomp ])
+SVN_STRIP_FLAG(SWIG_CPPFLAGS, [-Wdate-time ])
AC_SUBST([SWIG_CPPFLAGS])
dnl Since this is used only on Unix-y systems, define the path separator as '/'