Merge pull request #212271 from alyssais/gcc-uclibc-libgomp

gcc: don't disable libgomp for uclibc targets

Changed files
-4
pkgs
development
compilers
gcc
-4
pkgs/development/compilers/gcc/common/configure-flags.nix
···
# 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"
] ++ lib.optional (targetPlatform.libc == "newlib" || targetPlatform.libc == "newlib-nano") "--with-newlib"
++ lib.optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
);