Commit 50a020aa authored by Jonas Rembser's avatar Jonas Rembser
Browse files

root: add back explicit disabling of compiler warnings for clang

This reverts commit 6665f67b.

I misunderstood something when preparing that commit: I thought it was
about compailer warnings when compiling ROOT with clang, but actually it
was to avoid warning *when compiling clang*. This is still necessary.
parent 2e9d7dca
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -195,6 +195,9 @@ stdenv.mkDerivation rec {
    "-Druntime_cxxmodules=OFF"
  ];

  # suppress warnings from compilation of the vendored clang to avoid running into log limits on the Hydra
  NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-shadow" "-Wno-maybe-uninitialized" ];

  postInstall = ''
    for prog in rootbrowse rootcp rooteventselector rootls rootmkdir rootmv rootprint rootrm rootslimtree; do
      wrapProgram "$out/bin/$prog" \