update spec file from upstream
This commit is contained in:
parent
b67ac8dd76
commit
b018266780
@ -30,6 +30,8 @@
|
||||
|
||||
%global snap %{?snapshot_dot}%{?git_sha_dot}
|
||||
|
||||
%global is_devel_build %(printf '%s' '%{real_version}' | sed -n 's/^1\\.\\([0-9]*[13579]\\)\\..*/1/p')
|
||||
|
||||
###############################################################################
|
||||
|
||||
%bcond_without adsl
|
||||
@ -40,8 +42,13 @@
|
||||
%bcond_without ppp
|
||||
%bcond_without nmtui
|
||||
%bcond_without regen_docs
|
||||
%if 0%{is_devel_build}
|
||||
%bcond_without debug
|
||||
%else
|
||||
%bcond_with debug
|
||||
%endif
|
||||
%bcond_without test
|
||||
%bcond_with sanitizer
|
||||
|
||||
###############################################################################
|
||||
|
||||
@ -358,9 +365,19 @@ intltoolize --automake --copy --force
|
||||
--with-dhcpcd=no \
|
||||
--with-crypto=nss \
|
||||
--enable-more-warnings=error \
|
||||
%if %{with sanitizer}
|
||||
--enable-address-sanitizer \
|
||||
--enable-undefined-sanitizer \
|
||||
%else
|
||||
--disable-address-sanitizer \
|
||||
--disable-undefined-sanitizer \
|
||||
%endif
|
||||
%if %{with debug}
|
||||
--with-more-logging \
|
||||
--enable-more-logging \
|
||||
--with-more-asserts=10000 \
|
||||
%else
|
||||
--disable-more-logging \
|
||||
--without-more-asserts \
|
||||
%endif
|
||||
--enable-ld-gc \
|
||||
--with-libaudit=yes-disabled-by-default \
|
||||
|
Loading…
Reference in New Issue
Block a user