Allow per module RTTI setting. This fixes a bug in previous check-ins.
Change-Id: I5fcac192a7945720fd7667f7497078d310370bc5
This commit is contained in:
parent
65ce6faa87
commit
e3c3c6d4fe
2 changed files with 4 additions and 1 deletions
|
@ -575,7 +575,9 @@ installed_static_library_notice_file_targets := \
|
|||
NOTICE-$(if $(LOCAL_IS_HOST_MODULE),HOST,TARGET)-STATIC_LIBRARIES-$(lib))
|
||||
|
||||
# Default is -fno-rtti.
|
||||
LOCAL_RTTI_FLAG ?= -fno-rtti
|
||||
ifeq ($(strip $(LOCAL_RTTI_FLAG)),)
|
||||
LOCAL_RTTI_FLAG := -fno-rtti
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
# Rule-specific variable definitions
|
||||
|
|
|
@ -42,6 +42,7 @@ LOCAL_YACCFLAGS:=
|
|||
LOCAL_ASFLAGS:=
|
||||
LOCAL_CFLAGS:=
|
||||
LOCAL_CPPFLAGS:=
|
||||
LOCAL_RTTI_FLAG:=
|
||||
LOCAL_C_INCLUDES:=
|
||||
LOCAL_LDFLAGS:=
|
||||
LOCAL_LDLIBS:=
|
||||
|
|
Loading…
Reference in a new issue