Note: 'AR=ar rc' is hardcoded in the Makefile but while cross-compiling we override it by passing "AR=$arch_target-ar" as makeopt zlib: fixed comment (SQUASH!)
@ -29,7 +29,11 @@ if [ "$SDECFG_STATIC" = "0" ] ; then
hook_add postmake 3 "zlib_pm"
fi
var_append AR " " "rc"
# 'AR=ar rc' is hardcoded in the Makefile but while cross-compiling we
# override it by passing "AR=$arch_target-ar" as makeopt
if atstage cross; then
var_append makeinstopt " " "prefix=/$prefix"
var_append makeinstopt " " "mandir=$mandir"