diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 17:36:05 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 22:12:39 +0100 |
commit | db22522741cccdeba657776844538c71cf8e8e7a (patch) | |
tree | 581a9da7867c6887577a1e6800a07009a6a92581 /other/travis/autotools-script | |
parent | 2fc54498709f7721fc749383389f3d274e26058a (diff) |
Add missing DHT_bootstrap to CMakeLists.txt.
- This PR also adds a DEBUG cmake option that enables -DTOX_DEBUG.
- We also remove `-Wall`, because there are too many warnings, and nobody really
looks at them at the moment. We'll see about fixing them soon. We'll also want
to enable `-Werror` at some point.
- Finally, this PR enables `-O3` to make sure toxcore still works correctly
under heavy compiler optimisations.
Diffstat (limited to 'other/travis/autotools-script')
-rwxr-xr-x | other/travis/autotools-script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/travis/autotools-script b/other/travis/autotools-script index 18cb2d26..457bc7e8 100755 --- a/other/travis/autotools-script +++ b/other/travis/autotools-script | |||
@@ -5,7 +5,7 @@ set -e -u -x | |||
5 | 5 | ||
6 | # Build toxcore and run tests. | 6 | # Build toxcore and run tests. |
7 | ./autogen.sh | 7 | ./autogen.sh |
8 | RUN ./configure \ | 8 | ./configure \ |
9 | --with-libsodium-libs=$CACHE_DIR/lib \ | 9 | --with-libsodium-libs=$CACHE_DIR/lib \ |
10 | --with-libsodium-headers=$CACHE_DIR/include \ | 10 | --with-libsodium-headers=$CACHE_DIR/include \ |
11 | --enable-daemon \ | 11 | --enable-daemon \ |
@@ -15,4 +15,4 @@ RUN ./configure \ | |||
15 | # We use make instead of RUN $MAKE here, because the autotools build will only | 15 | # We use make instead of RUN $MAKE here, because the autotools build will only |
16 | # ever run natively on the Linux container, never on a Windows cross compilation | 16 | # ever run natively on the Linux container, never on a Windows cross compilation |
17 | # docker instance or an OSX machine. | 17 | # docker instance or an OSX machine. |
18 | make distcheck -j`nproc` -k | 18 | make distcheck -j$NPROC -k |