mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-17 04:23:29 -05: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:
committed by
Matthew Cheetham
parent
b45c99b066
commit
493650db2c
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user