portmap: respect target CFLAGS
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 14:28:43 +0000 (09:28 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 19 Jan 2011 21:19:34 +0000 (22:19 +0100)
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>
package/portmap/portmap.mk

index 4a5fe62523791709e1c149966d111e39295dbd22..bebafce3763b0d71de48c635cdcd0961de2bbe9b 100644 (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