lol

tbb_2021_8: fix build with clang 16

+2
+2
pkgs/development/libraries/tbb/default.nix
··· 39 39 # Fix build with modern gcc 40 40 # In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]', 41 41 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-error=stringop-overflow" ] ++ 42 + # error: variable 'val' set but not used 43 + lib.optionals stdenv.cc.isClang [ "-Wno-error=unused-but-set-variable" ] ++ 42 44 # Workaround for gcc-12 ICE when using -O3 43 45 # https://gcc.gnu.org/PR108854 44 46 lib.optionals (stdenv.cc.isGNU && stdenv.isx86_32) [ "-O2" ];