]> git.proxmox.com Git - mirror_corosync.git/commit
spec: Add support for user-flags configure option
authorJan Friesse <jfriesse@redhat.com>
Fri, 7 Jun 2019 08:20:04 +0000 (10:20 +0200)
committerJan Friesse <jfriesse@redhat.com>
Fri, 7 Jun 2019 09:12:51 +0000 (11:12 +0200)
commit5cced85cd58905638c81892f79e9f457efac338e
tree92609c7272dfd7f52ee82984fdf68a86181c5589
parentd775f1425d6ebbfa25c7ba43c0fc69902507a8d6
spec: Add support for user-flags configure option

Passing -ggdb3 (or -g3) during compiler may result in corrupted
debuginfo files (bug in debugedit - for Fedora filed as a
https://bugzilla.redhat.com/show_bug.cgi?id=1708786). Until the bug is
fixed it's possible to ether change configure to add -ggdb2/-g2 or use
already existing --enable-user-flags option and rely on environment set
by rpmbuild.

Patch implements second option so RPM distros without broken debugedit
are not affected.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
corosync.spec.in