Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-18 07:54:02 +0300
committerJunio C Hamano <gitster@pobox.com>2020-06-18 07:54:03 +0300
commit9906d5f8e9323724f74715740161e4a91f5d7f87 (patch)
treee6831afcc5a0f9195aa92d53c45fd59b2a7242c3 /compat/vcbuild
parenta554228ffb417b75c4ab586f084079ac98665c1a (diff)
parentbb0e43d8a1ae8489071573c5323c28ed2935a354 (diff)
Merge branch 'js/msvc-build-fix'
Workaround breakage in MSVC build, where "curl-config --cflags" gives settings appropriate for GCC build. * js/msvc-build-fix: msvc: fix "REG_STARTEND" issue
Diffstat (limited to 'compat/vcbuild')
-rwxr-xr-xcompat/vcbuild/scripts/clink.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat/vcbuild/scripts/clink.pl b/compat/vcbuild/scripts/clink.pl
index d9f71b7cbb..61ad084a7b 100755
--- a/compat/vcbuild/scripts/clink.pl
+++ b/compat/vcbuild/scripts/clink.pl
@@ -23,7 +23,9 @@ while (@ARGV) {
# before any "-l*" flags.
$is_debug = 1;
}
- if ("$arg" =~ /^-[DIMGOZ]/) {
+ if ("$arg" =~ /^-I\/mingw(32|64)/) {
+ # eat
+ } elsif ("$arg" =~ /^-[DIMGOZ]/) {
push(@cflags, $arg);
} elsif ("$arg" eq "-o") {
my $file_out = shift @ARGV;