summaryrefslogtreecommitdiffstats
path: root/package/uci/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/uci/Makefile')
-rw-r--r--package/uci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uci/Makefile b/package/uci/Makefile
index 49c3f4261..6d1f7d95e 100644
--- a/package/uci/Makefile
+++ b/package/uci/Makefile
@@ -53,7 +53,7 @@ UCI_MAKEOPTS = \
COPTS="$(TARGET_CFLAGS)" \
DEBUG="$(DEBUG)" \
VERSION="$(UCI_VERSION)" \
- CPPFLAGS="-I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \
+ CPPFLAGS="-I$(PKG_BUILD_DIR) $(TARGET_CPPFLAGS)" \
OS="Linux"
# work around a nasty gcc bug