Skip to content

Commit

Permalink
libmount: (python): work around python 3.12 bug
Browse files Browse the repository at this point in the history
Python 3.12 introduced a -Wredundant-decls warning.
Work around it by not breaking the build.

See python/cpython#106560

Closes: util-linux#2366
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
  • Loading branch information
t-8ch committed Jul 9, 2023
1 parent 689c03b commit 2a82810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmount/python/Makemodule.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pylibmount_la_CFLAGS = \
$(AM_CFLAGS) \
$(PYTHON_CFLAGS) $(PYTHON_WARN_CFLAGS) \
-I$(ul_libmount_incdir) \
-Wno-error=redundant-decls \
-fno-strict-aliasing #-ggdb3 -O0

pylibmount_la_LDFLAGS = \
Expand Down

0 comments on commit 2a82810

Please sign in to comment.