shithub: libvpx

Download patch

ref: b0eea0a13359def0cdaaeecb92f1c8a09208c9dc
parent: 02c063797bd3716274400d239752b5b49285ce55
parent: 7836e3a5d7917ff37f83829391e47c0f2d15c6b7
author: James Zern <jzern@google.com>
date: Wed Feb 12 12:15:06 EST 2014

Merge "gen_msvs_vcxproj.sh: Add /arch:AVX for files using AVX."

--- a/build/make/gen_msvs_vcxproj.sh
+++ b/build/make/gen_msvs_vcxproj.sh
@@ -174,6 +174,10 @@
                         Include=".\\$f"
                     # Separate file names with Condition?
                     tag_content ObjectFileName "\$(IntDir)$objf"
+                    # Check for AVX and turn it on to avoid warnings.
+                    if [[ $f =~ avx.?\.c$ ]]; then
+                        tag_content AdditionalOptions "/arch:AVX"
+                    fi
                     close_tag ClCompile
                 elif [ "$pat" == "h" ] ; then
                     tag ClInclude \
--