From: Mike Frysinger Date: Fri, 24 Dec 2004 06:26:19 +0000 (-0000) Subject: use target cflags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30f12ce40754bffe21afb8ddae2cb47cbe39d225;p=buildroot.git use target cflags --- diff --git a/package/sfdisk/sfdisk.mk b/package/sfdisk/sfdisk.mk index d11d28e9ab..01261393a3 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) -