sfdisk: fix build with !BR2_LARGEFILE
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 23 Nov 2009 14:10:53 +0000 (15:10 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 23 Nov 2009 14:10:53 +0000 (15:10 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/sfdisk/sfdisk.mk

diff --git a/CHANGES b/CHANGES
index b620a1b13baf6351b62593860cbdaa8cf82c28be..9ff87934f46950854bd331cdfe1deb000b877a90 100644 (file)
--- a/CHANGES
+++ b/CHANGES
        matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp,
        ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc,
        python, quagga, radvd, rsync, rubix, samba, sawman, sdl,
-       shared-mime-info, spawn-fcgi, speech-tools, sqlite, squashfs, synergy,
-       syslinux, target-binutils, tcpdump, u-boot, util-linux, valgrind,
-       vsftpd, wipe, wpa-supplicant, xdata_xcursor-themes, xboard, xstroke,
-       zlib
+       shared-mime-info, sfdisk, spawn-fcgi, speech-tools, sqlite, squashfs,
+       synergy, syslinux, target-binutils, tcpdump, u-boot, util-linux,
+       valgrind, vsftpd, wipe, wpa-supplicant, xdata_xcursor-themes, xboard,
+       xstroke, zlib
 
        Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice
 
index 87a3f047c5cf4e9f5a5c05e857dc2d969af2ed49..81c4943dc14fd005fe670e31bad335c2ad3f95b1 100644 (file)
@@ -21,7 +21,7 @@ $(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
 $(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)/.patched
        $(MAKE) \
                CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$(TARGET_CFLAGS)" \
-               -C $(SFDISK_DIR)
+               DOLFS=$(if $(BR2_LARGEFILE),true,false) -C $(SFDISK_DIR)
        -$(STRIPCMD) $(SFDISK_DIR)/sfdisk
        touch -c $(SFDISK_DIR)/sfdisk