forked from osquery/osquery-toolchain
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config
21 lines (15 loc) · 750 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# For GCC configurations please look at crosstool-ng-config
# The vendor part has to be changed also in the crosstool-ng-config file
TUPLE=$MACHINE-osquery-linux-gnu
ZLIB_VER="1.2.11"
ZLIB_URL="https://zlib.net/zlib-${ZLIB_VER}.tar.gz"
ZLIB_SHA="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
LLVM_VERSION="11.0.0"
GCC_VERSION="8.3.0" # Notice: this has to match the same version that has been configured in crosstool-ng-config
PARALLEL_JOBS=$(( $(nproc)+1 ))
BUILD_GENERATOR="Ninja"
# Valid values: Release, RelWithDebInfo, MinSizeRel, Debug
LLVM_BUILD_TYPE=MinSizeRel
# If this is false, only the last stage with the clang compile and the first stage, with crosstool gcc will be kept
KEEP_INTERMEDIATE_STAGES=0