summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 21:23:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 21:23:34 +0000
commit663a55ca28e2de33cd37897e030dcc13d04f079f (patch)
treef1b39a5d773fff5ce33340e0a7324570acd1cec3 /package
parentee1a9d8b2eb8c1c908eacf409cd0fc12987a72a9 (diff)
use $TARGET_CFLAGS
Diffstat (limited to 'package')
-rw-r--r--package/procps/procps.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/procps/procps.mk b/package/procps/procps.mk
index 3d65ccc55..abd8bd803 100644
--- a/package/procps/procps.mk
+++ b/package/procps/procps.mk
@@ -15,6 +15,7 @@ $(DL_DIR)/$(PROCPS_SOURCE):
$(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(SED) '/^CFLAGS/s:-O2:$(TARGET_CFLAGS):' $(PROCPS_DIR)/Makefile
touch $(PROCPS_DIR)/.source
$(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source