test-compile-pedantic: replace -Wpedantic with -pedantic

-Wpedantic is a relatively new option, with -pedantic being the old version of
it that works on older gcc versions too.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Gaetan Nadon 2013-11-25 11:13:02 -05:00 committed by Peter Hutterer
parent d15856c77a
commit 81780fc4d2

View file

@ -34,7 +34,7 @@ test_libevdev_SOURCES = \
test_libevdev_LDADD = $(CHECK_LIBS) $(GCOV_LDFLAGS)
test_compile_pedantic_SOURCES = test-compile-pedantic.c
test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -Wpedantic -Werror -std=c90
test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -pedantic -Werror -std=c90
if GCOV_ENABLED