fix gene2fs build on freebsd
[openwrt.git] / tools / ext2fs / Makefile
index dd60a7e..f10adbb 100644 (file)
@@ -42,7 +42,9 @@ define Build/Configure
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) all
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CFLAGS="-O2 -I $(STAGING_DIR)/include-host -include getline.h" \
+               all
 endef
 
 define Build/Install
This page took 0.021986 seconds and 4 git commands to generate.