aboutsummaryrefslogtreecommitdiff
path: root/package/pptp-linux/pptp-linux.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-13 19:13:48 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-15 14:17:40 +0200
commiteab4842c7e0b505365761486ece9c6961f4ee0da (patch)
tree13b09dbc9aade0c46c9c893be5b36a486665ccf8 /package/pptp-linux/pptp-linux.mk
parent4f3fa0cfea9b97707402568936ee9d4276bfdb65 (diff)
downloadbuildroot-eab4842c7e0b505365761486ece9c6961f4ee0da.tar.gz
buildroot-eab4842c7e0b505365761486ece9c6961f4ee0da.tar.bz2
pptp-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pptp-linux/pptp-linux.mk')
-rw-r--r--package/pptp-linux/pptp-linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp-linux/pptp-linux.mk b/package/pptp-linux/pptp-linux.mk
index d7edf6cd06..1538457a12 100644
--- a/package/pptp-linux/pptp-linux.mk
+++ b/package/pptp-linux/pptp-linux.mk
@@ -12,7 +12,7 @@ PPTP_LINUX_LICENSE = GPLv2+
PPTP_LINUX_LICENSE_FILES = COPYING
define PPTP_LINUX_BUILD_CMDS
- $(MAKE) -C $(@D) OPTIMIZE= DEBUG= \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) OPTIMIZE= DEBUG= \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \