From a11117e42fabc3228d21a4786584acbe9840f1dc Mon Sep 17 00:00:00 2001 From: Tim Gore Date: Fri, 12 Dec 2014 12:14:33 +0000 Subject: Android.mk: replace std=c99 with std=gnu99 The android makefiles were passing the -std=c99 flag to the compiler which disables the typeof keyword. This causes a build fail for a recent addition to igt_aux.h. Change this to -std=gnu99, which is the flag used in the linux build Signed-off-by: Tim Gore Signed-off-by: Thomas Wood --- benchmarks/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks') diff --git a/benchmarks/Android.mk b/benchmarks/Android.mk index 5bb8ef50..14fc0a7e 100644 --- a/benchmarks/Android.mk +++ b/benchmarks/Android.mk @@ -11,7 +11,7 @@ define add_benchmark LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM LOCAL_CFLAGS += -DANDROID -UNDEBUG -include "check-ndebug.h" - LOCAL_CFLAGS += -std=c99 + LOCAL_CFLAGS += -std=gnu99 # FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit LOCAL_CFLAGS += -Wno-error=return-type # Excessive complaining for established cases. Rely on the Linux version warnings. -- cgit v1.2.3