opkg: disable the use of vfork for the host build
[openwrt/staging/yousong.git] / package / system / opkg / Makefile
index 67ceb7cafc23616bd95d08c92cf7e26b606d8132..446463ec85c1f53c6488141164281cfb80a3800e 100644 (file)
@@ -109,7 +109,7 @@ endef
 
 Package/opkg-smime/conffiles = $(Package/opkg/conffiles)
 
-TARGET_CFLAGS += -ffunction-sections -fdata-sections
+TARGET_CFLAGS += -ffunction-sections -fdata-sections -DOPKG_USE_VFORK=1
 EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
 
 CONFIGURE_ARGS += \