Jason A. Donenfeld
fadef52e1b
wireguard-go-bridge: fix standalone build
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-23 21:59:51 +01:00
Roopesh Chander
1ca5407b85
wireguard-go-bridge: Make CFLAGS_PREFIX work for macOS as well
...
For macOS, Xcode doesn't set DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX,
but does set DEPLOYMENT_TARGET_CLANG_FLAG_NAME.
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-14 14:52:26 +05:30
Jason A. Donenfeld
e2384e143c
Update copyright
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-07 19:23:39 -05:00
Jason A. Donenfeld
b23578dc7c
wireguard-go-bridge: SDK_DIR is not defined for simulator
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-20 20:47:49 +01:00
Jason A. Donenfeld
d775682ef4
More proper way to get sdk root directory
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-17 00:23:11 +01:00
Jason A. Donenfeld
ae339a000e
Further generalize makefile
...
This should allow us to eventually build on macOS
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-16 03:51:43 +01:00
Jason A. Donenfeld
a80cf6a0dc
Bump the go runtime
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-16 01:55:04 +01:00
Jason A. Donenfeld
946524aa8b
Bump the go runtime
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15 06:14:05 +01:00
Jason A. Donenfeld
03cce06292
wireguard-go-bridge: work around DWARF generation issue
...
Golang bug 25148 upstream.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-05 04:47:11 +01:00
Jason A. Donenfeld
fe76d6eed9
wireguard-go-bridge: xcode expects install target
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-04 03:56:15 +01:00
Jason A. Donenfeld
6676e557f1
wireguard-go-bridge: use boottime instead of monotonic
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-01 23:39:06 +01:00
Jason A. Donenfeld
9f5612f93f
wireguard-go-bridge: extract version for consumption by network extension
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-31 04:08:13 +01:00
Jason A. Donenfeld
3ed88cd858
wireguard-go-bridge: handle errors in makefile
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-31 02:49:59 +01:00
Jason A. Donenfeld
e1ebe64a47
bridge: go get requires arch paths
...
So we move it into the build phase. This makes sense, since ostensibly
different archs might have different required modules.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-26 22:40:07 +02:00
Jason A. Donenfeld
add2b2c09c
Use go modules
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-09 19:51:53 +02:00
Jason A. Donenfeld
cd86ba92ec
Rewrite bridge build system
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-02 19:15:03 +02:00
Jeroen Leenarts
5c853efed8
Xcode build wireguard go bridge.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-26 20:34:09 +02:00
Jason A. Donenfeld
412a5ed445
Keep tabs on memory usage
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-25 02:50:03 +02:00
Jason A. Donenfeld
17529b300b
Generate fat archive
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-13 02:30:12 +02:00
Jason A. Donenfeld
b861590195
Correct archive file extension
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-13 00:35:15 +02:00
Jason A. Donenfeld
2ec6a90044
Build using c-archive instead
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-12 05:19:21 +02:00
Jason A. Donenfeld
831640312c
First stab at Go bridge
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-09 04:22:11 +02:00