gcc: limit gcc12 isMips --disable-libsanitizer
to abi=="gnu"
This commit is contained in:
parent
a62c92ab9b
commit
6c8b8bc2f1
|
@ -246,7 +246,7 @@ let
|
|||
]
|
||||
# On mips64-unknown-linux-gnu libsanitizer defines collide with
|
||||
# glibc's definitions and fail the build. It was fixed in gcc-13+.
|
||||
++ lib.optionals (targetPlatform.isMips && lib.versions.major version == "12") [
|
||||
++ lib.optionals (targetPlatform.isMips && targetPlatform.parsed.abi.name == "gnu" && lib.versions.major version == "12") [
|
||||
"--disable-libsanitizer"
|
||||
]
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue