--- a/configure.ac +++ b/configure.ac @@ -1504,6 +1504,8 @@ # 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, [-Os ]) +SVN_STRIP_FLAG(SWIG_CPPFLAGS, [-fomit-frame-pointer ]) AC_SUBST([SWIG_CPPFLAGS]) dnl Since this is used only on Unix-y systems, define the path separator as '/'