summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2025-01-15 19:16:06 +0100
committerMike Yuan <me@yhndnzj.com>2025-01-16 02:26:56 +0100
commit347eb8fbe3cfb5960995c86cd91065a37552ab6f (patch)
treeacca80155d9af9584781abaca597e2d379de4756 /tools
parentRevert "OBS: build Fedora/Debian/Ubuntu x86_64 packages on PRs" (diff)
downloadsystemd-347eb8fbe3cfb5960995c86cd91065a37552ab6f.tar.xz
systemd-347eb8fbe3cfb5960995c86cd91065a37552ab6f.zip
tree-wide: remove unnecessary gcc >= 7 version check
Our baseline is gcc 8.4.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate-gperfs.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/generate-gperfs.py b/tools/generate-gperfs.py
index 3887bb6ee9..e2d6e30b7a 100755
--- a/tools/generate-gperfs.py
+++ b/tools/generate-gperfs.py
@@ -16,9 +16,7 @@ if __name__ == '__main__':
print("""\
%{
-#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \\"-Wimplicit-fallthrough\\"")
-#endif
%}""")
print(f"""\
struct {name}_name {{ const char* name; int id; }};