wipe: fix build without largefile support
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 20:22:08 +0000 (22:22 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 20:22:08 +0000 (22:22 +0200)
And pass proper cflags.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/wipe/wipe.mk

diff --git a/CHANGES b/CHANGES
index 1f9081a8ae0c09f0d3bb6b58f7c387126521a320..6e7f25914b53f5c1b11fdffec454079bb844eeb4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,7 +7,7 @@
        festival, imagemagick, iptables, kernel-headers, kismet,
        libevent, libglib2, liblockfile, libuuid, ltrace, mdadm,
        ncftp, netkittelnet, openssl, python, quagga, radvd, samba,
-       speech-tools, squashfs, syslinux, u-boot, valgrind,
+       speech-tools, squashfs, syslinux, u-boot, valgrind, wipe,
        xdata_xcursor-themes
 
        Removed package: mdnsresponder, mpatrol
index 1f222c653e09ec3c44640431d0913cac89e90c14..44d5cc4108cbffe12029c724337b7e64e347fade 100644 (file)
@@ -33,7 +33,7 @@ $(WIPE_DIR)/.configured: $(WIPE_DIR)/.unpacked
 
 $(WIPE_DIR)/$(WIPE_BINARY): $(WIPE_DIR)/.configured
        rm -f $(WIPE_DIR)/$(WIPE_BINARY)
-       $(MAKE) CC=$(TARGET_CC) CC_GENERIC=$(TARGET_CC) -C $(WIPE_DIR) generic
+       $(MAKE) CC=$(TARGET_CC) CC_GENERIC=$(TARGET_CC) CCO_GENERIC="$(TARGET_CFLAGS)" -C $(WIPE_DIR) generic
 
 $(TARGET_DIR)/$(WIPE_TARGET_BINARY): $(WIPE_DIR)/$(WIPE_BINARY)
        cp -a $(WIPE_DIR)/$(WIPE_BINARY) $(TARGET_DIR)/$(WIPE_TARGET_BINARY)