WIP: add a little build helper script [skip ci]
This commit is contained in:
parent
c7335c76ca
commit
5a1dde20b3
11
buildpls
Executable file
11
buildpls
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# get and build nDPI and deps before building fastnetmon
|
||||
|
||||
export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||
export moarflags="-Wno-reorder -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-unused-but-set-variable -Wno-format-truncation -Wno-implicit-fallthrough -Wno-type-limits -Wno-class-memaccess" # since there's just so many warnings (I know, they should be fixed)
|
||||
|
||||
cd src
|
||||
git apply patches/cmake-libndpi-nolibicu-cpp17-includes-protoc-grpc.patch
|
||||
cmake -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Wall -Werror $moarflags -Wextra"
|
||||
make clean fastnetmon all
|
Loading…
Reference in New Issue
Block a user