From: Thomas De Schampheleire Date: Wed, 19 Mar 2014 19:30:07 +0000 (+0100) Subject: qwt: use TARGET_MAKE_ENV when running make and qmake X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae5234e3156eb9db3873daf19916307e0f670349;p=buildroot.git qwt: use TARGET_MAKE_ENV when running make and qmake This patch prepends TARGET_MAKE_ENV to $(MAKE) and $(QT_QMAKE) command lines, to make sure PATH is set correctly, and to line up with the qt5 packages that do this consistently. Signed-off-by: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- diff --git a/package/qwt/qwt.mk b/package/qwt/qwt.mk index aa5ec9bea9..776780b207 100644 --- a/package/qwt/qwt.mk +++ b/package/qwt/qwt.mk @@ -28,11 +28,11 @@ endif define QWT_CONFIGURE_CMDS $(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri - (cd $(@D); $(QT_QMAKE)) + (cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE)) endef define QWT_BUILD_CMDS - $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef # After installation, we fixup the INSTALL_PREFIX in qwtconfig.pri so