diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/Makefile.am | 3 | ||||
-rw-r--r-- | binutils/Makefile.in | 4 | ||||
-rwxr-xr-x | binutils/configure | 7 |
4 files changed, 16 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 82b8eae..0dc603a 100644 --- a/binutils/ChangeLog +++ b/binutils/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-05-16 Jon Turney <jon.turney@dronecode.org.uk> * objcopy.c (is_nondebug_keep_contents_section): New function. diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 77c99d7..aca2610 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -514,7 +514,8 @@ all: info # We extract version from bfd/configure.in, make sure to rerun configure # when BFD's version changes. -CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in \ + $(BFDDIR)/development.sh DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak embedspu diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 52489f2..c9e9e38 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -616,7 +616,9 @@ EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \ # We extract version from bfd/configure.in, make sure to rerun configure # when BFD's version changes. -CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in \ + $(BFDDIR)/development.sh + DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak embedspu MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \ binutils.log binutils.sum abcdefgh* diff --git a/binutils/configure b/binutils/configure index fcf9784..1272e53 100755 --- a/binutils/configure +++ b/binutils/configure @@ -11592,6 +11592,9 @@ _ACEOF +# 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. */ @@ -11626,8 +11629,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 |