Skip to content

Commit

Permalink
packit: build RPMs without optimizations
Browse files Browse the repository at this point in the history
So potential stack traces are more readable instead of being full of
"UnknownInlinedFun" symbols.
  • Loading branch information
mrc0mmand committed May 14, 2024
1 parent a5f8193 commit 718bb38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ actions:
- rm -fv ".dist-git/sources"
# Drop backported patches
- sed -ri '/^Patch.*\\:.+\\.patch/d' ".dist-git/dbus-broker.spec"
# Build without optimizations to improve stack trace readability in CI
- sed -i '1i %global optflags %optflags -O0' .dist-git/dbus-broker.spec

create-archive:
# Override `git archive`, since we use subprojects.
Expand Down

0 comments on commit 718bb38

Please sign in to comment.