Branch libreoffice-5-0-4
[LibreOffice.git] / solenv / gbuild / platform / linux.mk
blob284e70c79f5e9be517b61ed73c56ef311f65c757
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 gb__LinkTarget_LDFLAGS_zdefs := -Wl,-z,defs
11 ifeq ($(COM_GCC_IS_CLANG),TRUE)
12 ifneq ($(filter -fsanitize=%,$(CC)),)
13 gb__LinkTarget_LDFLAGS_zdefs :=
14 endif
15 endif
16 gb_LinkTarget_LDFLAGS += $(gb__LinkTarget_LDFLAGS_zdefs)
18 include $(GBUILDDIR)/platform/unxgcc.mk
20 # vim: set noet sw=4 ts=4: