1af5a29d87
- CMAKE_BUILD_TYPE=Release will force -O3 instead of respecting our CFLAGS and CXXFLAGS - Theoretically, we could patch cmake to always use -O2 instead, however, patching will break users' expectation when compiling their our code. - RelWithDebInfo could be another option if it's acceptable to always have debug symbol available. - However, some projects ignore all CFLAGS and CXXFLAGS; - Some other projects relies on CMAKE_BUILD_TYPE=Release to install to correct location and/or disable coverage. - To get away with -O3, we need patching either ways, let's go with CMAKE_BUILD_TYPE=None, and patch all problematic softwares. |
||
---|---|---|
.. | ||
build-helper | ||
build-profiles | ||
build-style | ||
chroot-style | ||
cross-profiles | ||
environment | ||
hooks | ||
repo-keys | ||
travis | ||
wrappers | ||
xbps-src | ||
options.description | ||
shlibs |