gcc: disable libsanitizer, libgomp on musl

This commit is contained in:
Will Dietz
2018-02-13 09:44:38 -06:00
parent 0e16989d39
commit 15d401dcfa
5 changed files with 6 additions and 5 deletions
@@ -169,7 +169,7 @@ let version = "4.8.5";
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc") [
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"