diff options
Diffstat (limited to 'package/rules.mk')
-rw-r--r-- | package/rules.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/rules.mk b/package/rules.mk index 4a8d947161..fe16a18f98 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -235,10 +235,8 @@ define Build/Compile/Default $(TARGET_CONFIGURE_OPTS) \ CC=$(TARGET_CC) \ CROSS="$(TARGET_CROSS)" \ - PREFIX="$$(IDIR_$(1))" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \ ARCH="$(ARCH)" \ - DESTDIR="$$(IDIR_$(1))" \ $(1); endef |