qt6.qtbase: do not embed compiler information into generated cmake files
The qt build system embeds information about compilers used during building qtbase into the generated cmake files, to avoid mixing different compilers when building qt modules, however this greatly bloats the closure size of qtbase and the mixed use of compilers is sometimes desired in Nixpkgs.
This commit is contained in:
parent
97a538791c
commit
d94ae302c6
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ stdenv.mkDerivation rec {
|
|||
qtQmlPrefix = "lib/qt-6/qml";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DQT_EMBED_TOOLCHAIN_COMPILER=OFF"
|
||||
"-DINSTALL_PLUGINSDIR=${qtPluginPrefix}"
|
||||
"-DINSTALL_QMLDIR=${qtQmlPrefix}"
|
||||
"-DQT_FEATURE_libproxy=ON"
|
||||
|
|
Loading…
Reference in a new issue