summaryrefslogtreecommitdiff
path: root/package/portmap/portmap.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-10 09:28:43 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-19 22:19:34 +0100
commitfef028dbd37b4c8e32e61314ab680f9eaadf22cf (patch)
tree172c48f7e64c048c9e5468f0e74032c46af2949c /package/portmap/portmap.mk
parent758eff8852ba07fa6b70f17955b288aa484ca674 (diff)
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>
Diffstat (limited to 'package/portmap/portmap.mk')
-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 4a5fe6252..bebafce37 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