subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james...@apache.org
Subject svn commit: r1722164 - /subversion/trunk/configure.ac
Date Tue, 29 Dec 2015 15:53:22 GMT
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 '/'



Mime
View raw message