Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libvpx
libvpx-configure-add-armv7-tgt-isa.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor