diff options
author | Filipe Brandenburger <filbranden@google.com> | 2016-05-02 13:26:13 -0700 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-05-03 11:00:27 +0200 |
commit | 239cd48bc87ffbf95e6fe2dd6bd708b3fc9b1855 (patch) | |
tree | 068d85517c3ebf837f397f5794562b4de3ec1b0f /ChangeLog | |
parent | afeccd48a738ebae5645dded4dd13f053747d008 (diff) |
config: Pass the compiler -Werror during warning detection
Otherwise the compilation prints a warning but exits with 0 return code.
However, later during the compilation, when -Werror is enforced to about
every file, the unsupported options start breaking the builds.
Tested: Ran configure with clang-3.5 and built libelf/ tree with it.
$ autoreconf -i
$ ./configure CC=clang-3.5 ...
$ make -C libelf
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ 2016-05-02 Filipe Brandenburger <filbranden@google.com> * configure.ac (argp check): Pass pass &argv. + * configure.ac (-W<...> checks): Pass -Werror to the warning checks, + to ensure unsupported warning options are noticed during ./configure + time and not only later during build. 2016-03-31 Mark Wielaard <mjw@redhat.com> |