Qt5: WebEngine turn off warning causing errors

Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
main
toonn 3 years ago committed by Jonathan Ringer
parent 2253728351
commit b1b5b40c8d
  1. 2
      pkgs/development/libraries/qt-5/modules/qtwebengine.nix

@ -110,6 +110,8 @@ qtModule {
# it fails when compiled with -march=sandybridge https://github.com/NixOS/nixpkgs/pull/59148#discussion_r276696940
# TODO: investigate and fix properly
"-march=westmere"
] ++ lib.optionals stdenv.cc.isClang [
"-Wno-elaborated-enum-base"
] ++ lib.optionals stdenv.isDarwin [
"-DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_12"
"-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_12"

Loading…
Cancel
Save