diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-07 18:52:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-13 14:42:54 +0100 |
commit | fe4983026476b9228cba9ef285c4392aaba80ce0 (patch) | |
tree | a7b7cc8965887cd5b683aba3d45d99abac73209b /installer/build.bat | |
parent | build: work with llvm-rc and use numbered icons (diff) | |
download | wireguard-windows-fe4983026476b9228cba9ef285c4392aaba80ce0.tar.xz wireguard-windows-fe4983026476b9228cba9ef285c4392aaba80ce0.zip |
build: switch to using llvm compiler
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | installer/build.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/build.bat b/installer/build.bat index 20722bc5..0cd8917f 100644 --- a/installer/build.bat +++ b/installer/build.bat @@ -32,6 +32,7 @@ if exist .deps\prepared goto :build cd .. || goto :error :build + set PATH=%BUILDDIR%..\.deps\llvm-mingw\bin;%PATH% set WIX=%BUILDDIR%.deps\wix\ set CFLAGS=-O3 -Wall -std=gnu11 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -municode -DUNICODE -D_UNICODE -DNDEBUG set LDFLAGS=-shared -s -Wl,--kill-at -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 -Wl,--tsaware -Wl,--dynamicbase -Wl,--nxcompat -Wl,--export-all-symbols @@ -57,7 +58,6 @@ if exist .deps\prepared goto :build goto :eof :msi - set PATH=%BUILDDIR%..\.deps\%~2-w64-mingw32-native\bin;%PATH% set CC=%~2-w64-mingw32-gcc if not exist "%~1" mkdir "%~1" echo [+] Compiling %1 |