summaryrefslogtreecommitdiff
path: root/external/nss/asan.patch.1
blob: 6acbb04d233d414f41e6d8ec3c811bc3de43d823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur nss.org/nss/coreconf/Linux.mk nss/nss/coreconf/Linux.mk
--- nss.org/nss/coreconf/Linux.mk	2014-05-06 04:36:01.817838877 +0200
+++ nss/nss/coreconf/Linux.mk	2014-05-06 04:37:25.387835456 +0200
@@ -146,7 +146,7 @@
 # we don't use -z defs there.
 # Also, -z defs conflicts with Address Sanitizer, which emits relocations
 # against the libsanitizer runtime built into the main executable.
-ZDEFS_FLAG		= -Wl,-z,defs
+ZDEFS_FLAG		=
 DSO_LDOPTS      += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG)) -Wl,-z,origin '-Wl,-rpath,$$ORIGIN'
 LDFLAGS			+= $(ARCHFLAG) -z noexecstack