diff options
-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 4a8d94716..fe16a18f9 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 |