Message ID | alpine.LNX.2.00.1108011620250.810@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
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 >
On 08/09/2011 04:22 PM, Richard Guenther wrote: >> > >> > This fixes PR49907 - ok for trunk? > Ping. > > Thanks, > Richard. > Ok. Paolo
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