From: Peter Hutterer Date: Mon, 9 Feb 2015 02:54:36 +0000 (+1000) Subject: test: use -std=c89 instead of c90 for the build test X-Git-Tag: libevdev-1.4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ba296cf900a39aa844ee8de2a9ee96dd53bc953;p=platform%2Fupstream%2Flibevdev.git test: use -std=c89 instead of c90 for the build test They're identical, but RHEL6 doesn't support -std=c90 https://gcc.gnu.org/onlinedocs/gcc/Standards.html https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#C-Dialect-Options Signed-off-by: Peter Hutterer --- diff --git a/test/Makefile.am b/test/Makefile.am index 5141369..ab4752e 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -5,7 +5,7 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/libevdev AM_LDFLAGS = test_compile_pedantic_SOURCES = test-compile-pedantic.c -test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -pedantic -Werror -std=c90 +test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -pedantic -Werror -std=c89 test_link_SOURCES = test-link.c test_link_CFLAGS = -I$(top_srcdir)