Skip to content

Commit 8c907e9

Browse files
committed
configure: host: Host CFLAGS should be strict
Turns all warnings into errors. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent 7c96066 commit 8c907e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ case "$with_arch" in
110110
ARCH_CFLAGS="-g"
111111

112112
# automake FLAGS defined here
113-
AM_CFLAGS="-O3"
113+
AM_CFLAGS="-O3 -Wall -Werror -Wl,-EL -Wmissing-prototypes"
114114
AM_LDFLAGS="-lpthread"
115-
AM_CCASFLAGS="-O3"
115+
AM_CCASFLAGS="-O3 -Wall -Werror -Wl,-EL -Wmissing-prototypes"
116116

117117
ARCH="host"
118118
AC_SUBST(ARCH)

0 commit comments

Comments
 (0)