X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/643f013d152805f989115a71a8d19b02d01320a4..ecf7b9c1bc4487f4bcaa0d65a4a66fab1eecdfad:/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