summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:22:08 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:22:08 +0200
commite6e0ab231cd97a8431609e8260a30b6996957fb5 (patch)
tree6fc8ebc5b7d07d42ef879914e671b7900502dbfa
parent59c8e4de91bb0499be741252fc4f6ec10d7dc5b0 (diff)
wipe: fix build without largefile support
And pass proper cflags. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/wipe/wipe.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 1f9081a8a..6e7f25914 100644
--- 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
diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
index 1f222c653..44d5cc410 100644
--- a/package/wipe/wipe.mk
+++ b/package/wipe/wipe.mk
@@ -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)