summaryrefslogtreecommitdiffstats
path: root/package/net-tools
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-05-31 23:25:45 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-08 23:27:59 +0200
commit6d2cb12d5f544a5fd24b14326e85901dfeaf3d31 (patch)
treefe22283c7adcb734aa0864b94edf51b2418986f8 /package/net-tools
parent88b4fca2ae4c7a6e9bdd53e5a0aa51b7516e5a29 (diff)
downloadbuildroot-6d2cb12d5f544a5fd24b14326e85901dfeaf3d31.tar.gz
buildroot-6d2cb12d5f544a5fd24b14326e85901dfeaf3d31.zip
package/net-tools: use TARGET_CONFIGURE_OPTS to provide AR, CC and LDFLAGS
As noticed by Peter [1], use TARGET_CONFIGURE_OPTS to provide AR, CC and LDFLAGS. Also remove TARGET_MAKE_ENV since it only contains PATH=$(BR_PATH) which is also provided by TARGET_CONFIGURE_OPTS. [1] http://lists.busybox.net/pipermail/buildroot/2016-May/162418.html Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/net-tools')
-rw-r--r--package/net-tools/net-tools.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
index 08d55bb27c..f0c61d5c4b 100644
--- a/package/net-tools/net-tools.mk
+++ b/package/net-tools/net-tools.mk
@@ -34,8 +34,7 @@ endef
NET_TOOLS_POST_CONFIGURE_HOOKS += NET_TOOLS_ENABLE_I18N NET_TOOLS_ENABLE_IPV6
define NET_TOOLS_BUILD_CMDS
- $(TARGET_MAKE_ENV) AR="$(TARGET_AR)" CC="$(TARGET_CC)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_CONFIGURE_OPTS) \
LIBS="$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)" \
$(MAKE) -C $(@D)
endef
OpenPOWER on IntegriCloud