Mailinglist Archive: opensuse-buildservice (105 mails)

< Previous Next >
[opensuse-buildservice] Re: how to check for debug build?
On Tue, Oct 07, Andreas Schwab wrote:

Olaf Hering <olaf@xxxxxxxxx> writes:

osc build has two knobs --disable-debuginfo and --debuginfo. How can I
check in the spec file which mode is currently enabled? I want to do
something like this:

Building debuginfo has nothing to do with enabling debug mode. If you
want to do the latter use some --with-debug flag.

So I rewrite my pseudo code:

%if %{some_dbginfo_flag}
tool --do-debuginfo
tool --no-debuginfo


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups