Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
shuah
/
linux-arts
/
ebec47a771cab06af3d956c556a60e1ff05e9f09
/
.
/
syzkaller-repros
/
build.sh
blob: 6d2d8059ba6c5bb2bf09cec1070abb3cef80408c [
file
] [
log
] [
blame
]
mkdir
-
p bin
for
f
in
linux
/*.
c
;
do
out
=
"bin/`basename "
$f
" .c`"
if
test
-
f
"$out"
;
then
continue
fi
echo $f
flags
=
""
if
grep
"__NR_mmap2"
$f
;
then
flags
=
"-m32"
fi
gcc
"$f"
-
static
-
pthread $flags
-
o $out
done