diff options
author | Tim Gore <tim.gore@intel.com> | 2014-12-12 12:14:33 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-12-12 12:18:22 +0000 |
commit | a11117e42fabc3228d21a4786584acbe9840f1dc (patch) | |
tree | a8fee636e5b2a79917b434de0fdf36436b3b59ba /demos | |
parent | 264e1ac10ac14a098a78cc9f96c4e7cabb124ee5 (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 'demos')
-rw-r--r-- | demos/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/Android.mk b/demos/Android.mk index d2592b11..b20d61ed 100644 --- a/demos/Android.mk +++ b/demos/Android.mk @@ -10,7 +10,7 @@ include $(CLEAR_VARS) LOCAL_CFLAGS += -DHAVE_TERMIOS_H LOCAL_CFLAGS += -DANDROID -UNDEBUG -LOCAL_CFLAGS += -std=c99 +LOCAL_CFLAGS += -std=gnu99 # Excessive complaining for established cases. Rely on the Linux version warnings. LOCAL_CFLAGS += -Wno-sign-compare |