daniperez/magrit — comment on commit 38583c988a9f5bd6a5afda778c6205cac9948b37
File: client/pom.xml line 69
By daniperez:

All Linux distros should use the same toolchain file, unless we were cross-compiling between Linux distros (e.g. 32 <-> 64 bits or for different libc's). For menthal sanity, I won't cross-compile between distros, at least in the near future.

For cross-compiling for windows, have a look at the corresponding toolchain file. It shouldn't be difficult to adapt to Ubuntu.