summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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