diff options
author | Loic Minier <lool@dooz.org> | 2009-04-14 11:11:52 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-04-21 15:02:10 +0200 |
commit | 4cf1ab73b5a1abdfb2fe37862b345976c8507dd1 (patch) | |
tree | 9a3423e6462730bc089716f718f57b3a91c06606 /hook-functions | |
parent | ceb549235df16f54d4ec6ef2a6c7c50ade751884 (diff) | |
download | initramfs-tools-4cf1ab73b5a1abdfb2fe37862b345976c8507dd1.tar.gz initramfs-tools-4cf1ab73b5a1abdfb2fe37862b345976c8507dd1.zip |
copy_exec: also avoid picking sse2, neon, and vfp hwcaps libs.
merge 0.92bubuntu29
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r-- | hook-functions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hook-functions b/hook-functions index 96c61bf..295bce8 100644 --- a/hook-functions +++ b/hook-functions @@ -152,8 +152,9 @@ copy_exec() { s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/' 2>/dev/null); do # Try to use non-optimised libraries where possible. - # We assume that all HWCAP libraries will be in tls. - nonoptlib=$(echo "${x}" | sed -e 's#/lib/\(tls\|i686\).*/\(lib.*\)#/lib/\2#') + # We assume that all HWCAP libraries will be in tls, + # sse2, vfp or neon. + nonoptlib=$(echo "${x}" | sed -e 's#/lib/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#/lib/\2#') if [ -e "${nonoptlib}" ]; then x="${nonoptlib}" |