From 5447a434e7155c6526767d5c872a69a9ede70829 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 5 Sep 2016 21:51:48 +0200 Subject: [PATCH] make: use -std=c99 as default --- Makefile.cflags | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile.cflags b/Makefile.cflags index bef46ca726..d5ed7b2d57 100644 --- a/Makefile.cflags +++ b/Makefile.cflags @@ -1,13 +1,8 @@ # Test if the input language was specified externally. -# Otherwise test if the compiler unterstands the "-std=gnu99" flag, and use it if so. # Otherwise test if the compiler unterstands the "-std=c99" flag, and use it if so. ifeq ($(filter -std=%,$(CFLAGS)),) - ifeq ($(shell $(CC) -std=gnu99 -E - 2>/dev/null >/dev/null /dev/null >/dev/null /dev/null >/dev/null