Merge pull request #135360 from r-burns/gcc-musl-libgomp

gcc: enable libgomp for musl targets
This commit is contained in:
r-burns 2021-09-23 17:22:21 -07:00 committed by GitHub
commit 188dad47ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ let
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
] ++ lib.optionals (targetPlatform.libc == "uclibc") [
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"