summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-24 06:26:19 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-24 06:26:19 +0000
commit30f12ce40754bffe21afb8ddae2cb47cbe39d225 (patch)
treed6a38b75eff7aa34fda6409c7bc7d9a79320e30f
parent06d9abcfd2dd4f9b4a268c39e1058f6aa53ca938 (diff)
use target cflags
-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)
-