[Buildroot] [PATCH 2/3] fconfig: remove redundant CFLAGS/LDFLAGS

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Dec 6 09:56:26 UTC 2014


CFLAGS and LDFLAGS are already passed as part of
$(TARGET_CONFIGURE_OPTS).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/fconfig/fconfig.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/fconfig/fconfig.mk b/package/fconfig/fconfig.mk
index 7f7faad..509fc2c 100644
--- a/package/fconfig/fconfig.mk
+++ b/package/fconfig/fconfig.mk
@@ -12,9 +12,7 @@ FCONFIG_LICENSE = GPLv2+
 FCONFIG_LICENSE_FILES = fconfig.c
 
 define FCONFIG_BUILD_CMDS
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		LDFLAGS="$(TARGET_LDFLAGS)"
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
 endef
 
 define FCONFIG_INSTALL_TARGET_CMDS
-- 
2.1.0



More information about the buildroot mailing list