aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: af8729e3d7d94dce1ad00b057cb4965f08b12e52 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

script_dir=$(dirname "$0")
cd "$script_dir"

cd depends/libcap/libcap
make SHARED=no GOLANG=no PTHREADS=no
cd ../../../
gcc main.c -o kms-server-proxy -fstack-protector-all -O3 -s -flto -Wall -Wextra -Werror -DNDEBUG -static -static-libgcc -I./depends/libcap/libcap/include ./depends/libcap/libcap/libcap.a