diff --git a/lib/functions.in b/lib/functions.in index 8ab5a6b..e53824f 100644 --- a/lib/functions.in +++ b/lib/functions.in @@ -1148,11 +1148,11 @@ init_vars_and_hooks() fi if atstage cross; then - makeinstopt="$makeopt"' DESTDIR="$root" DEST_DIR="$root"' - makeinstopt="$makeinstopt"' INSTROOT="$root" INSTALLROOT="$root" install' - else - makeinstopt="$makeopt"' install' + makeopt="$makeopt"' INSTALL_PREFIX="$root"' + makeopt="$makeopt"' DESTDIR="$root" DEST_DIR="$root"' + makeopt="$makeopt"' INSTROOT="$root" INSTALLROOT="$root"' fi + makeinstopt="$makeopt"' install' custmain="" buildloop=1 buildloops=1