Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / external / nss / asan.patch.1
blob7dfd6ed4e782bfed0be80ede85acabcbb821e021
1 diff -ur nss.org/nss/coreconf/Linux.mk nss/nss/coreconf/Linux.mk
2 --- nss.org/nss/coreconf/Linux.mk       2014-05-06 04:36:01.817838877 +0200
3 +++ nss/nss/coreconf/Linux.mk   2014-05-06 04:37:25.387835456 +0200
4 @@ -146,7 +146,7 @@
5  # we don't use -z defs there.
6  # Also, -z defs conflicts with Address Sanitizer, which emits relocations
7  # against the libsanitizer runtime built into the main executable.
8 -ZDEFS_FLAG             = -Wl,-z,defs
9 +ZDEFS_FLAG             =
10  DSO_LDOPTS             += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG)) $(if $(filter-out $(OS),ANDROID),-Wl$(COMMA)-z$(COMMA)origin '-Wl$(COMMA)-rpath$(COMMA)$$ORIGIN')
11  LDFLAGS                        += $(ARCHFLAG) -z noexecstack