workaround clang-14 bug
[LibreOffice.git] / external / dtoa / StaticLibrary_dtoa.mk
blobb309da0a0378286c0d9581a9cc4eb24007722611
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_StaticLibrary_StaticLibrary,dtoa))
12 $(eval $(call gb_StaticLibrary_use_unpacked,dtoa,dtoa))
14 # A place that duplicates these settings is jurt/Library_jpipe.mk
15 $(eval $(call gb_StaticLibrary_add_defs,dtoa,\
16 $(if $(filter little,$(ENDIANNESS)),-DIEEE_8087,-DIEEE_MC68k)\
19 $(eval $(call gb_StaticLibrary_set_warnings_disabled,dtoa))
21 $(eval $(call gb_StaticLibrary_set_include,dtoa,\
22 -I$(gb_UnpackedTarball_workdir)/dtoa/src/\
23 $$(INCLUDE)\
26 $(eval $(call gb_StaticLibrary_add_exception_objects,dtoa,\
27 external/dtoa/source/dtoa \
30 # vim: set noet sw=4 ts=4: