From a20347122e37060f625f19ef89fca504ee43e2e2 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 19 Mar 2010 21:02:20 +0000 Subject: [PATCH] [package] fix lilo build on 64-bits machine (#6878) git-svn-id: svn://svn.openwrt.org/openwrt/packages@20308 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/lilo/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/lilo/Makefile b/utils/lilo/Makefile index 44156ccc4..35f6da506 100644 --- a/utils/lilo/Makefile +++ b/utils/lilo/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lilo PKG_VERSION:=22.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz PKG_SOURCE_URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/ @@ -30,7 +30,9 @@ define Package/lilo/conffiles endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) alles + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(HOSTCC) -m32" \ + alles endef define Package/lilo/install -- 2.11.0