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>
2012.11.x
Mike Frysinger 2011-01-10 09:28:43 -05:00 committed by Peter Korsgaard
parent 758eff8852
commit fef028dbd3
1 changed files with 1 additions and 0 deletions

View File

@ -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