Skip to content

Commit f6e2fac

Browse files
committed
Add asan builds
1 parent 997f238 commit f6e2fac

File tree

2 files changed

+198
-73
lines changed

2 files changed

+198
-73
lines changed

rspamd.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ lua.
7373
source /opt/rh/devtoolset-6/enable
7474
%endif
7575
%if 0%{?el7}
76-
source /opt/rh/devtoolset-7/enable
76+
source /opt/rh/devtoolset-8/enable
7777
%endif
78+
export ASAN_OPTIONS=detect_leaks=0
7879
@@CMAKE@@ \
7980
-DCMAKE_C_OPT_FLAGS="%{optflags}" \
8081
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -107,7 +108,7 @@ source /opt/rh/devtoolset-7/enable
107108
-DRSPAMD_GROUP=%{rspamd_group} \
108109
-DRSPAMD_USER=%{rspamd_user} \
109110
-DENABLE_LIBUNWIND=ON \
110-
@@EXTRA@@
111+
@@EXTRA@@
111112

112113
%{__make} %{?jobs:-j%jobs}
113114

0 commit comments

Comments
 (0)