Mailinglist Archive: opensuse-buildservice (105 mails)

< Previous Next >
[opensuse-buildservice] how to check for debug build?

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:

%if %{some_dbg_flag}
tool --do-debug
%else
tool --no-debug
%endif

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

< Previous Next >
Follow Ups