diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-23 18:06:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-23 18:06:32 +0100 |
commit | 6a150d772f6192579af95bef314cae7fca592d5b (patch) | |
tree | 09146da98e1058425747dc67adb69a60d379a56b /external/python3 | |
parent | f9632ab04288909c9ff4de56171c31acb7f2c573 (diff) |
Clang -fsanitize=vptr: ensure __ubsan_vptr_type_cache in python.bin
Change-Id: I7b08b7b6376db29b392243f24f6ad3ccf2ee8655
Diffstat (limited to 'external/python3')
-rw-r--r-- | external/python3/ExternalProject_python3.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk index 12a88c194215..29179d5c03b9 100644 --- a/external/python3/ExternalProject_python3.mk +++ b/external/python3/ExternalProject_python3.mk @@ -81,7 +81,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) : $(if $(SYSBASE), -I$(SYSBASE)/usr/include) \ )" \ $(if $(python3_cflags),CFLAGS='$(python3_cflags)') \ - $(if $(filter -fsanitize=address,$(CC)),LINKCC="$(CXX)") \ + $(if $(filter -fsanitize=%,$(CC)),LINKCC="$(CXX)") \ LDFLAGS="$(strip $(LDFLAGS) \ $(if $(SYSTEM_OPENSSL),,-L$(call gb_UnpackedTarball_get_dir,openssl)) \ $(if $(SYSTEM_EXPAT),,-L$(gb_StaticLibrary_WORKDIR)) \ |