diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-08-06 15:36:31 -0400 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-08-06 15:45:34 -0400 |
commit | 29e514d384a40b135923f76aca2406b6a3091198 (patch) | |
tree | 61a3005435a9884bbb3eb13f5e0cabcc2c983292 /branding/templates/makefile | |
parent | d64f45423e037b3506ce45fe94b2b29ce17cfa93 (diff) |
[pkg] Add cross compilation for win and osx
Diffstat (limited to 'branding/templates/makefile')
-rwxr-xr-x | branding/templates/makefile/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile index 1b1bd70..9612190 100755 --- a/branding/templates/makefile/Makefile +++ b/branding/templates/makefile/Makefile @@ -21,8 +21,6 @@ DEB_VERSION = $(shell echo ${VERSION} | cut -d '-' -f 1,2) # ----------------------------------------------------------------------------- # Windows # ----------------------------------------------------------------------------- -CROSS_FLAGS = CGO_ENABLED=1 GOARCH=386 GOOS=windows CC="/usr/bin/i686-w64-mingw32-gcc" CGO_LDFLAGS="-lssp" CXX="i686-w64-mingw32-c++" - openvpn_win: if not exist staging\openvpn mkdir staging\openvpn wget https://build.openvpn.net/downloads/releases/latest/tap-windows-latest-stable.exe -O staging/openvpn/tap-windows.exe |