Debian Codegraph @

debian/patches/0007-Make-compile-flags-reproducible.patch

raw
1 From: Jochen Sprickerhof <[email protected]>
2 Date: Mon, 14 Sep 2026 06:50:26 +0200
3 Subject: Make compile flags reproducible
4
5 ---
6 setup.py | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/setup.py b/setup.py
10 index 2609428..5251cf2 100644
11 --- a/setup.py
12 +++ b/setup.py
13 @@ -386,8 +386,8 @@ class build_ext(build_ext_):
14
15 # Add the compile/link options to each extension
16 for e in self.extensions:
17 - e.extra_compile_args = list(set(e.extra_compile_args).union(compileflags))
18 - e.extra_link_args = list(set(e.extra_link_args).union(linkflags))
19 + e.extra_compile_args = sorted(set(e.extra_compile_args).union(compileflags))
20 + e.extra_link_args = sorted(set(e.extra_link_args).union(linkflags))
21
22 build_ext_.build_extensions(self)
23