diff --git a/pkgs/development/compilers/gcc/common/platform-flags.nix b/pkgs/development/compilers/gcc/common/platform-flags.nix index 57d7438fcd3a..cc6a67d64057 100644 --- a/pkgs/development/compilers/gcc/common/platform-flags.nix +++ b/pkgs/development/compilers/gcc/common/platform-flags.nix @@ -28,4 +28,5 @@ in lib.concatLists [ "--with-long-double-128" "--with-long-double-format=${gcc.long-double-format or "ieee"}" ])) + (lib.optional targetPlatform.isMips64n32 "--disable-libsanitizer") # libsanitizer does not compile on mips64n32 ]