[osquery] Update osquery's build.sh for upstream changes (#2975)

This commit is contained in:
Tom Ritter 2019-10-22 04:55:21 +00:00 committed by Max Moroz
parent 09112da28d
commit dd51826da5
1 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@ export CFLAGS="${CFLAGS} -Wl,-lunwind"
cmake \
-DOSQUERY_VERSION:string=0.0.0-fuzz \
-DOSQUERY_FUZZ:BOOL=ON \
-DOSQUERY_BUILD_TESTS:BOOL=ON \
-DOSQUERY_ENABLE_ADDRESS_SANITIZER:BOOL=ON \
-DOSQUERY_ENABLE_FUZZER_SANITIZERS:BOOL=ON \
-DOSQUERY_TOOLCHAIN_SYSROOT=/usr/local/osquery-toolchain \
..
cmake \
@ -48,4 +48,4 @@ rm -rf "${SRC}/${PROJECT}/libraries/cmake/source/libudev/src/test"
rm -rf libs/src/patched-source/libudev/src/test
# Move harnesses to output path
cp osquery/main/osqueryfuzz-config "${OUT}/osqueryfuzz-config"
cp osquery/main/harnesses/osqueryfuzz-config "${OUT}/osqueryfuzz-config"