File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eu
4+
5+ export ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
6+ export UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
7+
8+ export PYTHON_SETUP_ARGS=' --install-layout=deb'
9+ export DESTDIR=/home/christian/Downloads/destdir/
10+ export OPT_SUBDIRS=' dbus gui mcstrans restorecond semodule-utils'
11+
12+ export CC=${CC:- ' ccache gcc' }
13+ export CFLAGS=' -fsanitize=address,undefined -g -I$DESTDIR/usr/include -Wall -Wextra'
14+ export LDFLAGS=' -fsanitize=address,undefined -L$DESTDIR/usr/lib'
15+
16+
17+ clear
18+
19+ rm -Rf ~ /Downloads/destdir/
20+
21+ make clean distclean
22+
23+ make install -j4
24+ make install-pywrap -j4
25+ make all -j4
26+
27+ ./scripts/env_use_destdir make test -j4
You can’t perform that action at this time.
0 commit comments