summaryrefslogtreecommitdiff
path: root/lto-plugin/Makefile.am
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-08-10 08:48:37 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-08-10 08:48:37 +0000
commitf3016c478e43ed67bdf301679d53352dffe7f3d0 (patch)
treecea47d2eb05d752cb1acdff0aad1891625790827 /lto-plugin/Makefile.am
parentd62bab6a7c366d625c1f31903ec971f4e5f1349e (diff)
downloadgcc-f3016c478e43ed67bdf301679d53352dffe7f3d0.tar.gz
re PR bootstrap/49907 (lto-plugin -Wall in stage1)
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: r177614
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