projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369b123
)
basic/build: also include BTF status
author
Mike Yuan
<me@yhndnzj.com>
Sun, 15 Sep 2024 14:04:32 +0000
(16:04 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 16 Sep 2024 01:42:16 +0000
(10:42 +0900)
src/basic/build.c
patch
|
blob
|
history
diff --git
a/src/basic/build.c
b/src/basic/build.c
index 50e975e80df16a275c451e49bb46bd0068d95595..bb9b4185f01e51e9e83181bbc27eb523624ca2d3 100644
(file)
--- a/
src/basic/build.c
+++ b/
src/basic/build.c
@@
-221,6
+221,12
@@
const char* const systemd_features =
" -BPF_FRAMEWORK"
#endif
+#if HAVE_VMLINUX_H
+ " +BTF"
+#else
+ " -BTF"
+#endif
+
#if HAVE_XKBCOMMON
" +XKBCOMMON"
#else
@@
-247,7
+253,7
@@
const char* const systemd_features =
;
-static char
*
systemd_features_with_color(void) {
+static char
*
systemd_features_with_color(void) {
const char *p = systemd_features;
_cleanup_free_ char *ret = NULL;
int r;