[pkg-wpa-devel] Bug#836074: Bug#836074: wpa FTCBFS: uses build architecture pkg-config

Andrew Shadura andrew at shadura.me
Tue Aug 30 20:35:03 UTC 2016


Hello,

On 30 August 2016 at 14:47, Helmut Grohne <helmut at subdivi.de> wrote:
> wpa fails to cross build from source. The first cause is that it uses
> the build architecture pkg-config. Using the triplet prefixed tool
> alleviates that problem, which is what the attached patch does.
>
> It then uses the build architecture compiler for building
> wpa_supplicant/wpa_gui-qt4. I don't have sufficient knowledge on qmake
> to fix this now, so I do not address this problem in my patch.
> Furthermore, I think that it should be fixed in debhelper's qmake
> buildsystem instead of wpa itself.
>
> Can you apply the patch even though it doesn't fix the build? That'd
> simplify figuring out how to make qmake work for cross building
> (exporting QMAKE_CC doesn't do the trick).
>
> Note that I slightly changed the method for setting CC, such that clang
> based native builds also work.

Thanks, will have a look.

-- 
Cheers,
  Andrew



More information about the Pkg-wpa-devel mailing list