blob: 5e144ea7f44d5849ed3dae6eb5357145351fe66c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := issue79115-confusing-ld.gold-warning
LOCAL_SRC_FILES := issue79115-confusing-ld.gold-warning.c
LOCAL_DISABLE_NO_EXECUTE := true
LOCAL_LDFLAGS += -Wl,--fatal-warnings
ifneq ($(filter clang%,$(NDK_TOOLCHAIN_VERSION)),)
# Disable integrated assembler because -Wa,--execstack isn't supported
LOCAL_CFLAGS += -fno-integrated-as
endif
include $(BUILD_EXECUTABLE)
|