代码拉取完成,页面将自动刷新
From 6f3dee6613da932062de3c2fad00e1e472601585 Mon Sep 17 00:00:00 2001
From: Chris Lumens <clumens@redhat.com>
Date: Wed, 26 Jun 2024 15:44:56 -0400
Subject: [PATCH 45/50] Build: Remove build-time support for running splint.
This is a C linter that sees commits only very seldomly, and there's no
references in the booth git log to any commits to fix problems by
splint. This leads me to believe that probably no one is actually
running it.
---
Makefile.am | 3 ---
configure.ac | 5 -----
src/Makefile.am | 3 ---
3 files changed, 11 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 1148203..1115043 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -119,9 +119,6 @@ uninstall-local:
test: check
-lint:
- for dir in src; do make -C $$dir lint; done
-
clean-local:
rm -rf test/*.pyc test/__pycache__ test/runtests.py test/boothtestenv.py cov* $(SPEC)
-rm -rf booth-*.rpm $(TARFILE)
diff --git a/configure.ac b/configure.ac
index 6b86bbe..3a8ebec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,9 +180,6 @@ cc_supports_flag() {
## local defines
PACKAGE_FEATURES=""
-LINT_FLAGS="-weak -unrecog +posixlib +ignoresigns -fcnuse \
- -badflag -D__gnuc_va_list=va_list -D__attribute\(x\)="
-
# local options
AC_ARG_ENABLE([fatal-warnings],
@@ -475,8 +472,6 @@ LIBS="$LIBS $XML_LIBS $LIBGNUTLS_LIBS"
# substitute what we need:
AC_SUBST([INITDDIR])
-AC_SUBST([LINT_FLAGS])
-
BOOTH_LIB_DIR=${localstatedir}/lib/booth
BOOTH_CORE_DIR=${localstatedir}/lib/booth/cores
BOOTHSYSCONFDIR=${sysconfdir}/booth
diff --git a/src/Makefile.am b/src/Makefile.am
index 4023791..b3c35bb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,6 +53,3 @@ endif
if COREDUMP_NURSING
boothd_LDADD += -lplumb
endif
-
-lint:
- -splint $(INCLUDES) $(LINT_FLAGS) $(CFLAGS) *.c
--
2.25.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。