summaryrefslogtreecommitdiff
path: root/lto-plugin/Makefile.am
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-01-03 13:15:21 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-01-03 13:15:21 +0000
commit9e0c20730a48cd1921a311175505a341885cf063 (patch)
treed9f67f3bbbf40a44a397e5b125a663bb3d4be1f2 /lto-plugin/Makefile.am
parent21473d36d5b068d4aeb4eff2983c1c54843d6fa0 (diff)
downloadgcc-9e0c20730a48cd1921a311175505a341885cf063.tar.gz
backport: re PR bootstrap/49907 (lto-plugin -Wall in stage1)
2012-01-03 Richard Guenther <rguenther@suse.de> Backport from mainline 2011-08-10 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. From-SVN: r182842
Diffstat (limited to 'lto-plugin/Makefile.am')
-rw-r--r--lto-plugin/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am
index 4067c43150a..b24015e137b 100644
--- a/lto-plugin/Makefile.am
+++ b/lto-plugin/Makefile.am
@@ -8,7 +8,7 @@ target_noncanonical := @target_noncanonical@
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