diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-12-10 16:54:40 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-12-10 16:54:40 +0100 |
commit | d6486b240fad3911282930edcf919347ace2e444 (patch) | |
tree | ee398e48ce1d924ba0bba6078a4f48fd56cb7cf1 /sync-build.sh | |
parent | d3d1e6c57a17bd2c5120ce682cabf8022af19d23 (diff) | |
download | wireshark-notes-d6486b240fad3911282930edcf919347ace2e444.tar.gz |
sync-build.sh: enable extra warnings, ignore files
Diffstat (limited to 'sync-build.sh')
-rwxr-xr-x | sync-build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sync-build.sh b/sync-build.sh index 291a08e..253d43a 100755 --- a/sync-build.sh +++ b/sync-build.sh @@ -81,6 +81,7 @@ if [ ! -e $builddir/CMakeCache.txt ]; then -DENABLE_GNUTLS=1 \ -DENABLE_GCRYPT=1 \ -DCMAKE_BUILD_TYPE=Debug \ + -DENABLE_EXTRA_COMPILER_WARNINGS=1 \ $remotesrcdir \ -DCMAKE_LIBRARY_PATH=$LIBDIR \ -DCMAKE_C_FLAGS=$(printf %q "$CFLAGS") \ @@ -132,6 +133,8 @@ while inotifywait -qq -e close_write "$sync"; do # IMPORTANT: do not sync top-level config.h or it will break OOT builds rsync -av --delete --exclude='.*.sw?' \ --exclude=config.h \ + --exclude=compile_commands.json \ + --exclude=\*.tar\* \ "$localsrcdir/" "$remotehost:$remotesrcdir/" && ssh -t "$remotehost" "$remotecmd" retval=$? |