Don't strip off binaries in pkgs with noarch set.

--HG--
extra : convert_revision : 962dcb897e2f6074631a358cd0c3ef5bbb6f3b14
This commit is contained in:
Juan RP 2009-11-09 03:43:01 +01:00
parent 1dca232ea5
commit 5ddea61b22

View file

@ -114,7 +114,9 @@ install_src_phase()
find ${DESTDIR} -depth -type d -empty -delete
fi
# Strip bins/libs.
strip_files
if [ -z "$noarch" ]; then
strip_files
fi
# unset cross compiler vars.
[ -n "$cross_compiler" ] && cross_compile_unsetvars