public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.8.2/gentoo: 19_all_libbacktrace-Werror.patch README.history
@ 2014-01-03 15:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2014-01-03 15:32 UTC (permalink / raw
  To: gentoo-commits

vapier      14/01/03 15:32:02

  Modified:             README.history
  Added:                19_all_libbacktrace-Werror.patch
  Log:
  do not build libbacktrace with -Werror

Revision  Changes    Path
1.12                 src/patchsets/gcc/4.8.2/gentoo/README.history

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.2/gentoo/README.history?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.2/gentoo/README.history?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.2/gentoo/README.history?r1=1.11&r2=1.12

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.8.2/gentoo/README.history,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- README.history	3 Jan 2014 15:02:36 -0000	1.11
+++ README.history	3 Jan 2014 15:32:02 -0000	1.12
@@ -1,6 +1,7 @@
-1.3		[pending]
+1.3		03 Jan 2014
 	U 17_all_libitm-Werror.patch
 	U 18_all_libatomic-Werror.patch
+	+ 19_all_libbacktrace-Werror.patch
 	U 93_all_cross-build-cxxflags.patch
 
 1.2		29 Dec 2013



1.1                  src/patchsets/gcc/4.8.2/gentoo/19_all_libbacktrace-Werror.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.2/gentoo/19_all_libbacktrace-Werror.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.2/gentoo/19_all_libbacktrace-Werror.patch?rev=1.1&content-type=text/plain

Index: 19_all_libbacktrace-Werror.patch
===================================================================
add a --enable-werror flag

2014-01-03  Mike Frysinger  <dirtyepic@gentoo.org>

	* configure.ac: Add --enable-werror.
	(WARN_FLAGS): Use it.
	* configure: Regenerate.

--- a/libbacktrace/configure.ac
+++ a/libbacktrace/configure.ac
@@ -132,8 +132,13 @@ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwri
 			  -Wmissing-format-attribute -Wcast-qual],
 			  [WARN_FLAGS])
 
+AC_ARG_ENABLE(werror, [AS_HELP_STRING([--enable-werror],
+                                      [turns on -Werror @<:@default=yes@:>@])])
+
 if test -n "${with_target_subdir}"; then
-  WARN_FLAGS="$WARN_FLAGS -Werror"
+  if test "x$enable_werror" != "xno"; then
+    WARN_FLAGS="$WARN_FLAGS -Werror"
+  fi
 fi
 
 AC_SUBST(WARN_FLAGS)
--- a/libbacktrace/configure
+++ a/libbacktrace/configure
@@ -730,6 +730,7 @@ enable_fast_install
 with_gnu_ld
 enable_libtool_lock
 enable_multilib
+enable_werror
 with_system_libunwind
 '
       ac_precious_vars='build_alias
@@ -1370,6 +1371,7 @@ Optional Features:
                           optimize for fast installation [default=yes]
   --disable-libtool-lock  avoid locking (might break parallel builds)
   --enable-multilib       build many library versions (default)
+  --enable-werror         turns on -Werror [default=yes]
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -11614,8 +11616,16 @@ fi
 CFLAGS="$save_CFLAGS"
 
 
+# Check whether --enable-werror was given.
+if test "${enable_werror+set}" = set; then :
+  enableval=$enable_werror;
+fi
+
+
 if test -n "${with_target_subdir}"; then
-  WARN_FLAGS="$WARN_FLAGS -Werror"
+  if test "x$enable_werror" != "xno"; then
+    WARN_FLAGS="$WARN_FLAGS -Werror"
+  fi
 fi
 
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-03 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03 15:32 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.8.2/gentoo: 19_all_libbacktrace-Werror.patch README.history Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox