Turn on -Werror for ssp.cpp.
libc_bionic.a is already compiled -Werror, but this one file gets compiled into its own library because it needs to be compiled with -fno-stack-protector. Change-Id: I273c535ab5c73ccaccbcf793fda1f788a2589abe
This commit is contained in:
parent
fe33fc790a
commit
dc5ec07158
@ -726,7 +726,7 @@ WITH_MALLOC_CHECK_LIBC_A := $(strip $(WITH_MALLOC_CHECK_LIBC_A))
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := bionic/ssp.cpp
|
||||
LOCAL_CFLAGS := $(libc_common_cflags) -fno-stack-protector
|
||||
LOCAL_CFLAGS := $(libc_common_cflags) -fno-stack-protector -Werror
|
||||
LOCAL_C_INCLUDES := $(libc_common_c_includes)
|
||||
LOCAL_MODULE := libbionic_ssp
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
||||
|
Loading…
x
Reference in New Issue
Block a user