summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-10 14:28:43 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-01-19 21:19:34 (GMT)
commitfef028dbd37b4c8e32e61314ab680f9eaadf22cf (patch)
tree172c48f7e64c048c9e5468f0e74032c46af2949c
parent758eff8852ba07fa6b70f17955b288aa484ca674 (diff)
downloadbuildroot-fef028dbd37b4c8e32e61314ab680f9eaadf22cf.tar.gz
buildroot-fef028dbd37b4c8e32e61314ab680f9eaadf22cf.tar.bz2
portmap: respect target CFLAGS
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/portmap/portmap.mk1
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