diff options
author | Anthony Green <green@moxielogic.com> | 2010-08-05 09:02:41 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2010-08-05 09:02:41 -0400 |
commit | bda487e87064f27965155459a62dc52a744778d0 (patch) | |
tree | e866c003a6d158e91edf96bc81977639a16c16f9 /msvcc.sh | |
parent | c1d28ba8d5029795af313ffeb81c97efc6d4c847 (diff) | |
download | libffi-bda487e87064f27965155459a62dc52a744778d0.tar.gz |
Don't use -safeseh with ml64
Diffstat (limited to 'msvcc.sh')
-rwxr-xr-x | msvcc.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |