From dbf799e2afa80875be240dc8f97c7288460e13a0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 3 Jul 2016 21:25:50 +0200 Subject: [PATCH] babeld: use TARGET_CONFIGURE_OPTS As suggested by a previous submission of babeld (https://patchwork.ozlabs.org/patch/631953/), we can use TARGET_CONFIGURE_OPTS instead of passing CFLAGS and LDFLAGS in PLATFORM_DEFINES. Signed-off-by: Thomas Petazzoni --- package/babeld/babeld.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/babeld/babeld.mk b/package/babeld/babeld.mk index fa504b803e..ca39c7143b 100644 --- a/package/babeld/babeld.mk +++ b/package/babeld/babeld.mk @@ -10,8 +10,7 @@ BALELD_LICENSE = MIT BALELD_LICENSE_FILES = LICENSE define BABELD_BUILD_CMDS - $(MAKE) -C $(@D) CC="$(TARGET_CC)" \ - PLATFORM_DEFINES="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) endef define BABELD_INSTALL_TARGET_CMDS -- 2.30.2