mirror of https://github.com/axmolengine/axmol.git
15 lines
749 B
Makefile
15 lines
749 B
Makefile
TARGET_thumb_release_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_thumb_release_CFLAGS))
|
|
TARGET_thumb_release_CFLAGS := $(filter-out -fomit-frame-pointer,$(TARGET_thumb_release_CFLAGS))
|
|
TARGET_arm_release_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_arm_release_CFLAGS))
|
|
TARGET_arm_release_CFLAGS := $(filter-out -fomit-frame-pointer,$(TARGET_arm_release_CFLAGS))
|
|
TARGET_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_CFLAGS))
|
|
|
|
# include libandprof.a in the build
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := cocos_libprofiler_static
|
|
LOCAL_MODULE_FILENAME := profiler
|
|
LOCAL_SRC_FILES := libs/$(TARGET_ARCH_ABI)/libandprof.a
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
|
include $(PREBUILT_STATIC_LIBRARY)
|