From bda487e87064f27965155459a62dc52a744778d0 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Thu, 5 Aug 2010 09:02:41 -0400 Subject: Don't use -safeseh with ml64 --- msvcc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'msvcc.sh') diff --git a/msvcc.sh b/msvcc.sh index 551c73d..c73cb15 100755 --- a/msvcc.sh +++ b/msvcc.sh @@ -46,6 +46,7 @@ args="-nologo" md=-MD cl="cl" ml="ml" +safeseh="-safeseh" output= while [ $# -gt 0 ] @@ -63,6 +64,7 @@ do -m64) cl="cl" # "$MSVC/x86_amd64/cl" ml="ml64" # "$MSVC/x86_amd64/ml64" + safeseh= shift 1 ;; -O*) @@ -164,7 +166,7 @@ if [ -n "$assembly" ]; then echo "$cl -nologo -EP $includes $defines $src > $ppsrc" "$cl" -nologo -EP $includes $defines $src > $ppsrc || exit $? output="$(echo $output | sed 's%/F[dpa][^ ]*%%g')" - args="-nologo -safeseh $single $output $ppsrc" + args="-nologo $safeseh $single $output $ppsrc" echo "$ml $args" eval "\"$ml\" $args" -- cgit v1.2.1