make hotplug2 use the build system cflags
[openwrt/svn-archive/archive.git] / package / hotplug2 / Makefile
index 6b69bac73349a28b237949eed497ada697dc0da1..bf7c8c6b090ae51bdddb8ee926a3c1e65c7a5b6b 100644 (file)
@@ -29,6 +29,7 @@ define Package/hotplug2/description
 Hotplug2 is a trivial replacement of some of the UDev functionality
 in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD.
 endef
+MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
 
 define Package/hotplug2/install
        $(INSTALL_DIR) $(1)/etc