From 4cf1ab73b5a1abdfb2fe37862b345976c8507dd1 Mon Sep 17 00:00:00 2001 From: Loic Minier Date: Tue, 14 Apr 2009 11:11:52 +0200 Subject: copy_exec: also avoid picking sse2, neon, and vfp hwcaps libs. merge 0.92bubuntu29 Signed-off-by: maximilian attems --- hook-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hook-functions') 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}" -- cgit v1.2.3