qtwebengine: fix build failure due to -Wformat-security
ninja builds some components with -Wno-format, which is not compatible with the
default hardening setting of -Wformat-security in Nixpkgs.
commitdb215a62b7a071ca54e42a497959a13d3ddee912
authorThomas Tuegel <ttuegel@mailbox.org>
dateFri 25 May 2018, 15:22 (9 years ago)
parent98f2f08
pkgs/development/libraries/qt-5/modules/qtwebengine.nix+4
@@ -31,6 +31,10 @@ qtModule {
3131
3232 enableParallelBuilding = true;
3333
34+ # ninja builds some components with -Wno-format,
35+ # which cannot be set at the same time as -Wformat-security
36+ hardeningDisable = [ "format" ];
37+
3438 postPatch =
3539 # Patch Chromium build tools
3640 ''