public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR49907
@ 2011-08-01 14:21 Richard Guenther
  2011-08-09 14:37 ` [PING] " Richard Guenther
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Guenther @ 2011-08-01 14:21 UTC (permalink / raw)
  To: gcc-patches


This fixes PR49907 - ok for trunk?

Thanks,
Richard.

2011-08-01  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/49907
	lto-plugin/
	* configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
	* Makefile.am (AM_CFLAGS): Adjust.  Do not build with -Werror.
	* configure: Regenerate.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.

Index: configure.ac
===================================================================
--- configure.ac	(revision 177016)
+++ configure.ac	(working copy)
@@ -6,6 +6,7 @@ AM_INIT_AUTOMAKE([foreign no-dist])
 AM_MAINTAINER_MODE
 AC_PROG_CC
 AC_SYS_LARGEFILE
+ACX_PROG_CC_WARNING_OPTS([-Wall], [ac_lto_plugin_warn_cflags])
 AM_PROG_LIBTOOL
 ACX_LT_HOST_FLAGS
 AC_SUBST(target_noncanonical)
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 177016)
+++ Makefile.am	(working copy)
@@ -8,7 +8,7 @@ target_noncanonical := @target_noncanoni
 libexecsubdir := $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
 
 AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS)
-AM_CFLAGS = -Wall -Werror
+AM_CFLAGS = @ac_lto_plugin_warn_cflags@
 AM_LIBTOOLFLAGS = --tag=disable-static
 
 libexecsub_LTLIBRARIES = liblto_plugin.la

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PING] [PATCH] Fix PR49907
  2011-08-01 14:21 [PATCH] Fix PR49907 Richard Guenther
@ 2011-08-09 14:37 ` Richard Guenther
  2011-08-09 16:16   ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Guenther @ 2011-08-09 14:37 UTC (permalink / raw)
  To: gcc-patches; +Cc: bonzini

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1556 bytes --]

On Mon, 1 Aug 2011, Richard Guenther wrote:

> 
> This fixes PR49907 - ok for trunk?

Ping.

Thanks,
Richard.

> Thanks,
> Richard.
> 
> 2011-08-01  Richard Guenther  <rguenther@suse.de>
> 
> 	PR bootstrap/49907
> 	lto-plugin/
> 	* configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
> 	* Makefile.am (AM_CFLAGS): Adjust.  Do not build with -Werror.
> 	* configure: Regenerate.
> 	* Makefile.in: Likewise.
> 	* aclocal.m4: Likewise.
> 
> Index: configure.ac
> ===================================================================
> --- configure.ac	(revision 177016)
> +++ configure.ac	(working copy)
> @@ -6,6 +6,7 @@ AM_INIT_AUTOMAKE([foreign no-dist])
>  AM_MAINTAINER_MODE
>  AC_PROG_CC
>  AC_SYS_LARGEFILE
> +ACX_PROG_CC_WARNING_OPTS([-Wall], [ac_lto_plugin_warn_cflags])
>  AM_PROG_LIBTOOL
>  ACX_LT_HOST_FLAGS
>  AC_SUBST(target_noncanonical)
> Index: Makefile.am
> ===================================================================
> --- Makefile.am	(revision 177016)
> +++ Makefile.am	(working copy)
> @@ -8,7 +8,7 @@ target_noncanonical := @target_noncanoni
>  libexecsubdir := $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
>  
>  AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS)
> -AM_CFLAGS = -Wall -Werror
> +AM_CFLAGS = @ac_lto_plugin_warn_cflags@
>  AM_LIBTOOLFLAGS = --tag=disable-static
>  
>  libexecsub_LTLIBRARIES = liblto_plugin.la
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PING] [PATCH] Fix PR49907
  2011-08-09 14:37 ` [PING] " Richard Guenther
@ 2011-08-09 16:16   ` Paolo Bonzini
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2011-08-09 16:16 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc-patches

On 08/09/2011 04:22 PM, Richard Guenther wrote:
>> >
>> >  This fixes PR49907 - ok for trunk?
> Ping.
>
> Thanks,
> Richard.
>

Ok.

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-09 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01 14:21 [PATCH] Fix PR49907 Richard Guenther
2011-08-09 14:37 ` [PING] " Richard Guenther
2011-08-09 16:16   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).