diff options
Diffstat (limited to 'app-text/crf++/files/crf++-0.58-autotools.patch')
| -rw-r--r-- | app-text/crf++/files/crf++-0.58-autotools.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/crf++/files/crf++-0.58-autotools.patch b/app-text/crf++/files/crf++-0.58-autotools.patch new file mode 100644 index 000000000000..df3584432bbe --- /dev/null +++ b/app-text/crf++/files/crf++-0.58-autotools.patch @@ -0,0 +1,23 @@ +--- a/configure.in ++++ b/configure.in +@@ -49,10 +49,8 @@ + dnl + dnl check gcc + dnl +-if test -n "$GCC"; then +- CFLAGS="-O3 -Wall"; +- CXXFLAGS="-O3 -Wall"; +-fi ++CFLAGS="${CFLAGS} -Wall" ++CXXFLAGS="${CXXFLAGS} -Wall" + + AC_DEFUN(ADD_CC_FLAG, [ + AC_MSG_CHECKING(whether ${CC-cc} accepts $1) +@@ -285,6 +283,6 @@ + AC_MSG_RESULT([yes]) + + AC_SUBST(datarootdir) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AC_OUTPUT([Makefile Makefile.msvc swig/version.h]) + |
