summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/build-depends/clang.mk
blob: b44ccb5ed2d1aca1a92357713df7fed9537cfdde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2024, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception


ifndef MAKEFILE_CONFIGURE_BUILD_DEPENDS_CLANG_INCLUDED
MAKEFILE_CONFIGURE_BUILD_DEPENDS_CLANG_INCLUDED := 1


include $(MAKEFILEDIR)/configure/build-depends/cc.mk


DEFAULT_CLANGFLAGS := \
	$(COMMON_CFLAGS) \
	$(CLANG_CFLAGS)
EXTRA_CLANGFLAGS   :=
CLANGFLAGS         := $(DEFAULT_CLANGFLAGS) $(EXTRA_CLANGFLAGS)


endif  # include guard