summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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