Skip to content

Commit 5bb36a1

Browse files
committed
Adjusted deps builds to include debug symbols
TODO: adjust non-rpm pkg-build-* scripts accordingly if this works. Ticket: ENT-13016 Changelog: none
1 parent 70709a6 commit 5bb36a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps-packaging/pkg-build-rpm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ fi
117117
# We asked in https://github.com/rpm-software-management/rpm/issues/3982, and it seems allowing this is OK
118118
# 0x0002 - contains an invalid RPATH - in our case /var/cfengine/lib is OK so allow it as an exception
119119
export QA_RPATHS=$(( 0x0002 ))
120+
export CFLAGS="-g2 -O1"
121+
export CXXFLAGS="-g2 -O1"
120122
eval rpmbuild -bb \
121123
--define "'_topdir $BASEDIR/$PKGNAME'" \
122124
--define "'version $VERSION'" \

0 commit comments

Comments
 (0)