summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/procps/procps.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/procps/procps.mk b/package/procps/procps.mk
index afc0740b16..2700314237 100644
--- a/package/procps/procps.mk
+++ b/package/procps/procps.mk
@@ -20,7 +20,8 @@ $(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
touch $(PROCPS_DIR)/.source
$(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source
- $(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) -C $(PROCPS_DIR)
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) CPPFLAGS=-I$(STAGING_DIR)/include \
+ CC=$(TARGET_CC) -C $(PROCPS_DIR)
$(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY)
$(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \
OpenPOWER on IntegriCloud