diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-07 09:41:23 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-05-07 09:46:32 +0800 |
commit | 3f80b5fcca2d728f9eee7738741cd871263bba90 (patch) | |
tree | aad60b7f6d09621d15caa220eae5efc80949dcdf /configure.ac.in | |
parent | 4fee70ab7c67e268eff0ba16b42a71d36c11e727 (diff) | |
download | talos-petitboot-3f80b5fcca2d728f9eee7738741cd871263bba90.tar.gz talos-petitboot-3f80b5fcca2d728f9eee7738741cd871263bba90.zip |
configure: Remove -Winline
I'm getting the following errors when compiling with --enable-werror:
kboot-parser.c: In function 'kboot_process_pair':
./parser-conf.h:50:21: error: inlining failed in call to 'conf_get_pair_equal':
call is unlikely and code size would grow [-Werror=inline]
kboot-parser.c:65:7: error: called from here [-Werror=inline]
Since this is a header function, the inline isn't there for optimisation
reasons; the warning is just informing us of a code optimisation
decision. Drop -Winline to allow -Werror builds.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac.in b/configure.ac.in index 9a05711..acfab28 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -190,7 +190,7 @@ DEFINE_HOST_PROG(WGET, wget, [/usr/bin/wget]) default_cflags="--std=gnu99 -g \ -Wall -W -Wunused -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wredundant-decls -Winline" + -Wmissing-declarations -Wredundant-decls" AC_ARG_ENABLE( [werror], |