summaryrefslogtreecommitdiff
path: root/package/sfdisk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sfdisk')
-rw-r--r--package/sfdisk/sfdisk.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/sfdisk/sfdisk.mk b/package/sfdisk/sfdisk.mk
index d11d28e9a..01261393a 100644
--- a/package/sfdisk/sfdisk.mk
+++ b/package/sfdisk/sfdisk.mk
@@ -7,7 +7,6 @@ SFDISK_SOURCE=sfdisk.tar.bz2
SFDISK_SITE:=http://www.uclibc.org/
SFDISK_DIR=$(BUILD_DIR)/sfdisk
-
$(DL_DIR)/$(SFDISK_SOURCE):
$(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
@@ -15,7 +14,9 @@ $(SFDISK_DIR): $(DL_DIR)/$(SFDISK_SOURCE)
bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)
- $(MAKE) CROSS=$(TARGET_CROSS) DEBUG=false -C $(SFDISK_DIR);
+ $(MAKE) \
+ CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$(TARGET_CFLAGS)" \
+ -C $(SFDISK_DIR)
-$(STRIP) $(SFDISK_DIR)/sfdisk;
touch -c $(SFDISK_DIR)/sfdisk
@@ -33,4 +34,3 @@ sfdisk-clean:
sfdisk-dirclean:
rm -rf $(SFDISK_DIR)
-