diff --git a/.travis.yml b/.travis.yml index 57f86c8..9add095 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,6 @@ compiler: script: - ./autogen.sh - - ./configure CFLAGS='-Werror -Wno-gnu-variable-sized-type-not-at-end' + - ./configure CFLAGS='-Werror' - make - make check diff --git a/Makefile.am b/Makefile.am index 652cdc0..7fc8ebc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,11 @@ SUBDIRS = include -AM_CFLAGS = -std=c99 -Wall -Wextra -I$(top_srcdir)/include +AM_CFLAGS = \ + -std=c99 \ + -Wall \ + -Wextra \ + -Wno-gnu-variable-sized-type-not-at-end \ + -I$(top_srcdir)/include lib_LIBRARIES = libkernaux.a