Refactor _find_debuginfo_opts -g
- Used '%global over '%define' - Added a comment explaining what this does.
This commit is contained in:
parent
4dd0d67c96
commit
a7cd6c94c9
@ -21,7 +21,11 @@
|
|||||||
# Enable release builds by default on relevant arches.
|
# Enable release builds by default on relevant arches.
|
||||||
%bcond_without release
|
%bcond_without release
|
||||||
|
|
||||||
%define _find_debuginfo_opts -g
|
# The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
|
||||||
|
# This fixes detailed NMT and other tools which need minimal debug info.
|
||||||
|
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879
|
||||||
|
%global _find_debuginfo_opts -g
|
||||||
|
|
||||||
# note: parametrized macros are order-sensitive (unlike not-parametrized) even with normal macros
|
# note: parametrized macros are order-sensitive (unlike not-parametrized) even with normal macros
|
||||||
# also necessary when passing it as parameter to other macros. If not macro, then it is considered a switch
|
# also necessary when passing it as parameter to other macros. If not macro, then it is considered a switch
|
||||||
# see the difference between global and define:
|
# see the difference between global and define:
|
||||||
|
Loading…
Reference in New Issue
Block a user