use target cflags
authorMike Frysinger <vapier@gentoo.org>
Fri, 24 Dec 2004 06:33:33 +0000 (06:33 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 24 Dec 2004 06:33:33 +0000 (06:33 -0000)
package/udhcp/udhcp.mk

index 854e521f3d4c27379deb4b82715bd758fe609207..32f5ddf4f3fbfaaa2ba0e294f2ae0250f6b8f0e0 100644 (file)
@@ -32,6 +32,7 @@ udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE)
 
 $(UDHCP_DIR)/.unpacked: $(DL_DIR)/$(UDHCP_SOURCE)
        zcat $(DL_DIR)/$(UDHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       $(SED) 's/-Os -fomit-frame-pointer/$(TARGET_CFLAGS)/' $(UDHCP_DIR)/Makefile
        touch $(UDHCP_DIR)/.unpacked
 
 #$(UDHCP_DIR)/.unpacked: