build: Suppress stupid MSVC linker warning

... and use correct format to pass linker flags
This commit is contained in:
Tim Ruffing
2023-02-06 21:34:50 +01:00
parent 739c53b19a
commit 9a5a611a21
2 changed files with 7 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ task:
# Set non-essential options that affect the CLI messages here.
# (They depend on the user's taste, so we don't want to set them automatically in configure.ac.)
CFLAGS: -nologo -diagnostics:caret
LDFLAGS: -XCClinker -nologo -XCClinker -diagnostics:caret
LDFLAGS: -Xlinker -Xlinker -Xlinker -nologo
matrix:
- name: "x86_64 (MSVC): Windows (Debian stable, Wine)"
- name: "x86_64 (MSVC): Windows (Debian stable, Wine, int128_struct)"