From 4ba296cf900a39aa844ee8de2a9ee96dd53bc953 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 9 Feb 2015 12:54:36 +1000 Subject: [PATCH] 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 --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4