summaryrefslogtreecommitdiffhomepage
path: root/pkg.build
diff options
context:
space:
mode:
Diffstat (limited to 'pkg.build')
-rw-r--r--pkg.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg.build b/pkg.build
index 0e243803..f8a3f567 100644
--- a/pkg.build
+++ b/pkg.build
@@ -115,6 +115,11 @@ if ! is_build_script_done install1; then
${RANLIB:+RANLIB=${RANLIB}} \
DESTDIR=${PREFIX_LVL} \
${PKG_INSTALL_TARGET:-install};
+ elif [ -n "${PKG_MAKEFLAGS}" ]; then
+ make ${PKG_MAKEFLAGS} \
+ ${CC:+CC=${CC}} ${CFLAGS:+"CFLAGS=${CFLAGS}"} \
+ ${LD:+LD=${LD}} ${LDFLAGS:+"LDFLAGS=${LDFLAGS}"}\
+ ${PKG_INSTALL_TARGET:-install};
else
make ${PKG_MAKEFLAGS_INSTALL_EXTRA:+${PKG_MAKEFLAGS_INSTALL_EXTRA}}\
${MAKEFLAGS} \