aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/libraries.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/mk/libraries.mk b/mk/libraries.mk
index 1bc73d7f7..f9d427b10 100644
--- a/mk/libraries.mk
+++ b/mk/libraries.mk
@@ -78,11 +78,7 @@ define build-library
$(1)_LDFLAGS += -undefined suppress -flat_namespace
endif
else
- ifndef HOST_DARWIN
- ifndef HOST_CYGWIN
- $(1)_LDFLAGS += -Wl,-z,defs
- endif
- endif
+ # -Wl,-z,defs is broken with sanitizers on Linux/clang at least.
endif
ifndef HOST_DARWIN