aboutsummaryrefslogtreecommitdiff
path: root/contrib/cross-w64.cmake
AgeCommit message (Collapse)Author
2020-06-03mingw: update cross toolchain and add 32 and 64 default builds to saiAndy Green
2020-02-04cross: fix all the toolchain files for release modeAndy Green
2019-03-10cmake cross: non-bash doesn't deal with quoted options correctlyAndy Green
Although it works find on Fedora / bash, the extra quotes are snipped on Ubuntu / dash. Removing the quotes works OK on both.
2019-03-10cmake: override build system release optimization policyAndy Green
The cmake config on the build system actually decides the release build optimization policy. On Fedora, it's -O2. On Ubuntu, it's -O3. Anything given in CMakeLists.txt is overridden by the build system policy since it goes at the end of the compiler commandline. When you are building cross, the build system's opinion of your cross binary optimization level is irrelevant, and at worst destructive. Some versions of gcc contain broken optimizations that are applied only at -O3. This patch removes any doomed attempt to set -O in CMakeLists.txt, which has no effect since the build system policy is still added at the end, but removes confusion; and adds code to all the cross build files to forcibly override release optimization level to -O2, removing the build system's opinion of how your cross build should look.
2017-10-16Subject: toolchain: Create cross-w64.cmakeClaudi Martinez
Toolchain file for crosscompiling on 64bit Windows platforms.