From c1df5b45043803c52f96c5377fbc858804004590 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 10 Oct 2006 16:36:47 +0000 Subject: fix gene2fs build on freebsd git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5019 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/ext2fs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/ext2fs/Makefile') 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 -- cgit v1.2.3