summaryrefslogtreecommitdiff
path: root/external/openssl/ExternalProject_openssl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/openssl/ExternalProject_openssl.mk')
-rw-r--r--external/openssl/ExternalProject_openssl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/openssl/ExternalProject_openssl.mk b/external/openssl/ExternalProject_openssl.mk
index e44ccf5f3436..d197721d024a 100644
--- a/external/openssl/ExternalProject_openssl.mk
+++ b/external/openssl/ExternalProject_openssl.mk
@@ -86,6 +86,7 @@ $(call gb_ExternalProject_get_state_target,openssl,build):
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& $(MAKE) build_libs \
CC="$(CC) -fPIC \
+ $(if $(filter -fsanitize=undefined,$(CC)),-fno-sanitize=function) \
$(if $(filter TRUE, $(ENABLE_DBGUTIL)), -DPURIFY,) \
$(if $(filter-out WNT MACOSX,$(OS)),-fvisibility=hidden)" \
&& ln -s . lib \