File libvpx-configure-add-armv7-tgt-isa.patch of Package libvpx

Index: libvpx-v0.9.7-p1/build/make/configure.sh
===================================================================
--- libvpx-v0.9.7-p1.orig/build/make/configure.sh
+++ libvpx-v0.9.7-p1/build/make/configure.sh
@@ -656,6 +656,8 @@ process_common_toolchain() {
                 CROSS=${CROSS:-arm-iwmmxt-linux-gnueabi-}
             elif enabled symbian; then
                 CROSS=${CROSS:-arm-none-symbianelf-}
+            elif [[ "$(uname -m)" == $tgt_isa* ]]; then
+		CROSS=${CROSS:-}
             else
                 CROSS=${CROSS:-arm-none-linux-gnueabi-}
             fi
@@ -670,8 +672,13 @@ process_common_toolchain() {
                 check_add_asflags -mcpu=${tgt_isa}
             elif enabled armv7
             then
-                check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-ftree-vectorize
-                check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-march=armv7-a
+		if [[ "$(uname -m)" == $tgt_isa* ]]; then
+                	check_add_cflags -mfpu=neon
+                	check_add_asflags -mfpu=neon
+		else
+			check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-ftree-vectorize
+			check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  #-march=armv7-a
+		fi
             else
                 check_add_cflags -march=${tgt_isa}
                 check_add_asflags -march=${tgt_isa}