Linux Clang -fsanitize=address does not like -z defs
Change-Id: Ie64d5fe5100a6da7a9bb591da65980d2080fb84f
This commit is contained in:
@@ -7,9 +7,12 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
ifneq ($(COM_GCC_IS_CLANG)$(filter -fsanitize=address,$(CC)),TRUE-fsanitize=address)
|
||||
gb_LinkTarget_LDFLAGS += \
|
||||
-Wl,-z,defs \
|
||||
|
||||
endif
|
||||
|
||||
include $(GBUILDDIR)/platform/unxgcc.mk
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
Reference in New Issue
Block a user