summaryrefslogtreecommitdiffstats
path: root/tools/ext2fs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ext2fs/Makefile')
-rw-r--r--tools/ext2fs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ext2fs/Makefile b/tools/ext2fs/Makefile
index dd60a7eb9..f10adbb6c 100644
--- a/tools/ext2fs/Makefile
+++ b/tools/ext2fs/Makefile
@@ -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