diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-10-12 00:50:21 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-10-12 00:50:21 +0200 |
commit | 6c8aed6391a5e9f69cb59792aed58c5f33650275 (patch) | |
tree | 29bdc77cfbcf01a583c7600f9df3426abe5f1e6d /pkgs/development/libraries/qt-5 | |
parent | a0c34f54cc61dc20ae1ec91766b9efad102f5b36 (diff) | |
parent | 8b57a7573c04cc02b86228bc263afe16bc3fe748 (diff) | |
download | nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar.gz nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar.bz2 nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar.lz nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar.xz nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.tar.zst nixpkgs-6c8aed6391a5e9f69cb59792aed58c5f33650275.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/libraries/qt-5')
-rw-r--r-- | pkgs/development/libraries/qt-5/modules/qtwebengine.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/qt-5/modules/qtwebkit.nix | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/libraries/qt-5/modules/qtwebengine.nix b/pkgs/development/libraries/qt-5/modules/qtwebengine.nix index c96aef3f4da..df444eee2eb 100644 --- a/pkgs/development/libraries/qt-5/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-5/modules/qtwebengine.nix @@ -103,7 +103,7 @@ EOF --replace 'libs = [ "sandbox" ]' 'libs = [ "/usr/lib/libsandbox.1.dylib" ]' ''); - NIX_CFLAGS_COMPILE = [ + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ # with gcc8, -Wclass-memaccess became part of -Wall and this exceeds the logging limit "-Wno-class-memaccess" ] ++ lib.optionals (stdenv.hostPlatform.platform.gcc.arch or "" == "sandybridge") [ diff --git a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix index 78404ddffa8..542afdd55da 100644 --- a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix +++ b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix @@ -50,13 +50,12 @@ qtModule { export qmakeFlags="$qmakeFlags CONFIG+=silent" ''; - NIX_CFLAGS_COMPILE = - [ + NIX_CFLAGS_COMPILE = [ # with gcc7 this warning blows the log over Hydra's limit "-Wno-expansion-to-defined" - # with gcc8, -Wclass-memaccess became part of -Wall and this too exceeds the logging limit - "-Wno-class-memaccess" ] + # with gcc8, -Wclass-memaccess became part of -Wall and this too exceeds the logging limit + ++ optional stdenv.cc.isGNU "-Wno-class-memaccess" # with clang this warning blows the log over Hydra's limit ++ optional stdenv.isDarwin "-Wno-inconsistent-missing-override" ++ optionals flashplayerFix |