summaryrefslogtreecommitdiff
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTim Gore <tim.gore@intel.com>2014-12-12 12:14:33 +0000
committerThomas Wood <thomas.wood@intel.com>2014-12-12 12:18:22 +0000
commita11117e42fabc3228d21a4786584acbe9840f1dc (patch)
treea8fee636e5b2a79917b434de0fdf36436b3b59ba /tests/Android.mk
parent264e1ac10ac14a098a78cc9f96c4e7cabb124ee5 (diff)
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 <tim.gore@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 519852ad..814b8462 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -33,7 +33,7 @@ skip_tests_list += pm_rpm
# set local compilation flags for IGT tests
IGT_LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM -DANDROID -UNDEBUG
-IGT_LOCAL_CFLAGS += -include "check-ndebug.h" -std=c99
+IGT_LOCAL_CFLAGS += -include "check-ndebug.h" -std=gnu99
# FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit
IGT_LOCAL_CFLAGS += -Wno-error=return-type
# Excessive complaining for established cases. Rely on the Linux version warnings.