Hello,

On 30 August 2016 at 14:47, Helmut Grohne <hel...@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

Reply via email to