diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-29 02:28:41 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-29 02:28:41 -0600 |
commit | 0fa3fe3d435e694c7818ddaca8f755a47d9745cd (patch) | |
tree | 1797e64638f5dd4e5b6872ceb524481cb1b21e44 /tunnel/tools/CMakeLists.txt | |
parent | ed090f7ecb66eacdfdc655ad26eacfa648920096 (diff) |
tunnel: libwg-go: stick go tarball in gradle cache
This way we don't have to build over and over.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/tools/CMakeLists.txt')
-rw-r--r-- | tunnel/tools/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel/tools/CMakeLists.txt b/tunnel/tools/CMakeLists.txt index 90e61a06..91b28534 100644 --- a/tunnel/tools/CMakeLists.txt +++ b/tunnel/tools/CMakeLists.txt @@ -24,6 +24,7 @@ add_custom_target(libwg-go.so WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib ANDROID_LLVM_TRIPLE=${ANDROID_LLVM_TRIPLE} ANDROID_SYSROOT=${ANDROID_SYSROOT} ANDROID_PACKAGE_NAME=${ANDROID_PACKAGE_NAME} + GRADLE_USER_HOME=${GRADLE_USER_HOME} CFLAGS=${CMAKE_C_FLAGS}\ -Wno-unused-command-line-argument LDFLAGS=${CMAKE_SHARED_LINKER_FLAGS}\ -fuse-ld=gold DESTDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY} |