mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 10:56:15 +00:00
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>
30 lines
593 B
Makefile
30 lines
593 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
#================#
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# This demo wont build on android
|
|
#LOCAL_SRC_FILES := intel_sprite_on.c
|
|
|
|
|
|
LOCAL_CFLAGS += -DHAVE_TERMIOS_H
|
|
LOCAL_CFLAGS += -DANDROID -UNDEBUG
|
|
LOCAL_CFLAGS += -std=gnu99
|
|
# Excessive complaining for established cases. Rely on the Linux version warnings.
|
|
LOCAL_CFLAGS += -Wno-sign-compare
|
|
|
|
LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib
|
|
|
|
LOCAL_MODULE := intel_sprite_on
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_STATIC_LIBRARIES := libintel_gpu_tools
|
|
|
|
LOCAL_SHARED_LIBRARIES := libdrm
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
#================#
|