mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
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>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user