gcc: enable libgomp for musl targets
libgomp has been disabled on musl since musl support was first added to
nixpkgs (15d401dcfa
), but seems to work
fine. Tested down to gcc 6 (gcc 4.8 already doesn't build for musl)
This commit is contained in:
parent
8f27e517a2
commit
ccc96a4c44
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue