Page MenuHomePhabricator

meson: enable cross compiling

Authored by bu5hm4n on Dec 4 2018, 12:09 PM.



the inital work for this commit was coming from Mark van der Putten.
In order to not have more options for this, the idea came up to use
mesons autodetection using PATH.

If a cross file is specified, the binaries are used from the system,
rather than from the intree. (Which means --cross-file has the
dependency of efl on the buildsystem)

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
bu5hm4n created this revision.Dec 4 2018, 12:09 PM
bu5hm4n requested review of this revision.Dec 4 2018, 12:09 PM
stefan_schmidt added inline comments.Dec 6 2018, 6:18 AM

I can't help but find this logic is different from the other ones. No checking on cross_build() and searching for the native program.
Is this happening somewhere else for elm_prefs_cc?

bu5hm4n updated this revision to Diff 17829.Dec 7 2018, 12:33 AM
bu5hm4n edited the summary of this revision. (Show Details)


stefan_schmidt accepted this revision.Dec 7 2018, 3:49 AM
This revision is now accepted and ready to land.Dec 7 2018, 3:49 AM
bu5hm4n updated this revision to Diff 17844.Dec 7 2018, 4:02 AM

added flags

Closed by commit rEFL79ded15ad3c0: meson: enable cross compiling (authored by Marcel Hollerbach <>). · Explain WhyDec 7 2018, 4:06 AM
This revision was automatically updated to reflect the committed changes.