X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/643f013d152805f989115a71a8d19b02d01320a4..589df1ac74210380e89be62e3bea1cce175f8bdd:/package/wpa_supplicant/Makefile diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile index fb11085cf..644814556 100644 --- a/package/wpa_supplicant/Makefile +++ b/package/wpa_supplicant/Makefile @@ -47,8 +47,8 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ KERNEL=$(LINUX_DIR) \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS=" -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ all $(STRIP) $(PKG_BUILD_DIR)/wpa_supplicant $(STRIP) $(PKG_BUILD_DIR)/wpa_cli