cairo configure fails with gold linker with sanitizers enabled
Change-Id: I1afbe64fdd8847b0a826be58ee81f218308a0ef5 Reviewed-on: https://gerrit.libreoffice.org/69661 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
1
external/cairo/ExternalProject_cairo.mk
vendored
1
external/cairo/ExternalProject_cairo.mk
vendored
@@ -47,6 +47,7 @@ $(call gb_ExternalProject_get_state_target,cairo,build) :
|
||||
$(if $(filter-out ANDROID iOS,$(OS)),CFLAGS="$(if $(debug),-g) $(ZLIB_CFLAGS)" ) \
|
||||
$(if $(filter ANDROID iOS,$(OS)),PKG_CONFIG=./dummy_pkg_config) \
|
||||
LIBS="$(ZLIB_LIBS)" \
|
||||
$(if $(filter -fsanitize=%,$(LDFLAGS)),LDFLAGS="$(LDFLAGS) -fuse-ld=bfd") \
|
||||
pixman_CFLAGS="-I$(call gb_UnpackedTarball_get_dir,pixman)/pixman" \
|
||||
pixman_LIBS="-L$(call gb_UnpackedTarball_get_dir,pixman)/pixman/.libs -lpixman-1" \
|
||||
png_REQUIRES="trick_configure_into_using_png_CFLAGS_and_LIBS" \
|
||||
|
Reference in New Issue
Block a user