[Buildroot] [PATCH 5/7] portmap: respect target CFLAGS
Mike Frysinger
vapier at gentoo.org
Mon Jan 10 14:28:43 UTC 2011
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
package/portmap/portmap.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
index 4a5fe62..bebafce 100644
--- a/package/portmap/portmap.mk
+++ b/package/portmap/portmap.mk
@@ -15,6 +15,7 @@ PORTMAP_FLAGS += NO_FORK=1
endif
define PORTMAP_BUILD_CMDS
+ CFLAGS="$(TARGET_CFLAGS)" \
$(MAKE) CC="$(TARGET_CC)" -C $(@D) $(PORTMAP_FLAGS)
endef
--
1.7.4.rc1
More information about the buildroot
mailing list