Skip to content

Commit 9264592

Browse files
jeffhostetlerdscho
authored andcommitted
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 <[email protected]>
1 parent 13931b6 commit 9264592

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/vcbuild/scripts/clink.pl

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
122122
push(@cflags, "-wd4996");
123123
} elsif ("$arg" =~ /^-W[a-z]/) {
124124
# let's ignore those
125+
} elsif ("$arg" eq "-fno-stack-protector") {
126+
# eat this
125127
} else {
126128
push(@args, $arg);
127129
}

0 commit comments

Comments
 (0)