summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/build-depends/clang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/configure/build-depends/clang.mk')
-rw-r--r--share/mk/configure/build-depends/clang.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/clang.mk b/share/mk/configure/build-depends/clang.mk
new file mode 100644
index 0000000..b44ccb5
--- /dev/null
+++ b/share/mk/configure/build-depends/clang.mk
@@ -0,0 +1,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