Skip to content

Commit 68b7491

Browse files
add the same compiler flags as systemd, was getting issues with stuct packing using bitfields
1 parent fecba2a commit 68b7491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
f"{__module__}.sdbus",
2424
sources=[f"{__module__}/sdbus" + ext],
2525
libraries=["systemd"],
26+
extra_compile_args=["-O3", "-std=c99"], # match systemd
2627
)
2728
]
2829

0 commit comments

Comments
 (0)