lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / external / libmspub / UnpackedTarball_libmspub.mk
blob5e5bedb27d83d39c91c7a9322be9c16c9564ac28
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,libmspub))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libmspub,$(MSPUB_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libmspub,0))
16 $(eval $(call gb_UnpackedTarball_add_patches,libmspub,\
17 external/libmspub/ubsan.patch \
20 $(eval $(call gb_UnpackedTarball_update_autoconf_configs,libmspub))
22 ifeq ($(ANDROID_APP_ABI),armeabi-v7a)
23 $(eval $(call gb_UnpackedTarball_add_patches,libmspub, \
24 external/libmspub/libmspub_android_arm.patch.1 \
26 endif
28 ifeq ($(COM_IS_CLANG),TRUE)
29 ifneq ($(filter -fsanitize=%,$(CC)),)
30 $(eval $(call gb_UnpackedTarball_add_patches,libmspub, \
31 external/libmspub/ubsan-visibility.patch \
33 endif
34 endif
36 # vim: set noet sw=4 ts=4: