diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 93392110ab..3aec903728 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -218,8 +218,8 @@ endef define Build/Compile/wpad echo ` \ - $(call Build/RunMake,hostapd,MULTICALL=1 dump_cflags); \ - $(call Build/RunMake,wpa_supplicant,dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \ + $(call Build/RunMake,hostapd,-s MULTICALL=1 dump_cflags); \ + $(call Build/RunMake,wpa_supplicant,-s dump_cflags) | sed -e 's,$(TARGET_CFLAGS),,' \ ` > $(PKG_BUILD_DIR)/.cflags $(call Build/RunMake,hostapd, \ CFLAGS="$$$$(cat $(PKG_BUILD_DIR)/.cflags)" \