mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-04 03:33:01 -06:00
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
Ignore the `-fno-stack-protector` compiler argument when building with MSVC. This will be used in a later commit that needs to build a Win32 GUI app. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
This commit is contained in:
parent
fd494061ec
commit
8855918b53
@ -122,6 +122,8 @@ while (@ARGV) {
|
||||
push(@cflags, "-wd4996");
|
||||
} elsif ("$arg" =~ /^-W[a-z]/) {
|
||||
# let's ignore those
|
||||
} elsif ("$arg" eq "-fno-stack-protector") {
|
||||
# eat this
|
||||
} else {
|
||||
push(@args, $arg);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user