This bcond was in our downstream builds up until SES5, but somehow
got dropped in SES6.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
%bcond_with zbd
%bcond_with cmake_verbose_logging
%bcond_without ceph_test_package
+%bcond_with minimal_debugging_information
%ifarch s390
%bcond_with tcmalloc
%else
# the following setting fixed an OOM condition we once encountered in the OBS
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
%endif
+%if %{with minimal_debugging_information}
+RPM_OPT_FLAGS="$(echo $RPM_OPT_FLAGS | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g')"
+%endif
export CPPFLAGS="$java_inc"
export CFLAGS="$RPM_OPT_FLAGS"