diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/Makefile.am | 4 | ||||
-rw-r--r-- | gas/Makefile.in | 5 | ||||
-rwxr-xr-x | gas/configure | 7 |
4 files changed, 18 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 040e5d8..0bb7de0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-06-05 Joel Brobecker <brobecker@adacore.com> + + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on + bfd's development.sh. + * Makefile.in, configure: Regenerate. + 2014-06-03 Nick Clifton <nickc@redhat.com> * config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z. diff --git a/gas/Makefile.am b/gas/Makefile.am index 01731b9..669ab19 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -693,4 +693,6 @@ de-stage3: - (cd stage3 ; rm -f as$(EXEEXT) ; mv -f * ..) - rmdir stage3 -CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in $(srcdir)/configure.tgt +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in \ + $(srcdir)/configure.tgt \ + $(BFDDIR)/development.sh diff --git a/gas/Makefile.in b/gas/Makefile.in index 184a926..2ca56df 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -677,7 +677,10 @@ MOSTLYCLEANFILES = $(STAGESTUFF) core \ testsuite/site.exp site.bak site.exp stage stage1 stage2 against = stage2 -CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in $(srcdir)/configure.tgt +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in \ + $(srcdir)/configure.tgt \ + $(BFDDIR)/development.sh + all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/gas/configure b/gas/configure index 2530377..1e1086f 100755 --- a/gas/configure +++ b/gas/configure @@ -11575,6 +11575,9 @@ fi using_cgen=no +# Set the 'development' global. +. $srcdir/../bfd/development.sh + GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -11609,8 +11612,8 @@ case "${host}" in *) ;; esac -# Enable -Werror by default when using gcc -if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then +# Enable -Werror by default when using gcc. Turn it off for releases. +if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then ERROR_ON_WARNING=yes fi |