bump the patch

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@3017 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-10-29 10:23:50 +00:00
parent 3fe4a3bd14
commit f0b63f4dae

View File

@ -4,11 +4,11 @@
# Remove endian ('l' / 'eb')
[[ ${arm_arch} == *l ]] && arm_arch=${arm_arch%l}
[[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb}
- confgcc="${confgcc} --with-arch=${arm_arch}"
- confgcc+=" --with-arch=${arm_arch}"
+ local arm_arches="armv4 armv4t armv5t armv5te armv6j armv6k armv6m armv6t2 armv6zk armv7a armv7m armv7r"
+ for i in $arm_arches; do
+ [[ ${i} == $arm_arch ]] && \
+ confgcc="${confgcc} --with-arch=${arm_arch}"
+ confgcc+=" --with-arch=${arm_arch}"
+ done
fi
;;