fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / nss / asan.patch.1
blob3b64aa6f3045dc4c99e142d21aa754939e4f8f06
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 @@ -145,7 +145,7 @@
5  # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
6  # incorrectly reports undefined references in the libraries we link with, so
7  # we don't use -z defs there.
8 -ZDEFS_FLAG             = -Wl,-z,defs
9 +ZDEFS_FLAG             =
10  DSO_LDOPTS             += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG)) -Wl,-z,origin '-Wl,-rpath,$$ORIGIN'
11  LDFLAGS                        += $(ARCHFLAG)