anchor.diff:                   -e 's|define[[:blank:]]*MUSL_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define MUSL_DYNAMIC_LINKER\1 "${libc.out}\2"|g'
              done
           ''
  -        + stdenv.lib.optionalString (hostPlatform.libc == "musl")
  +        + stdenv.lib.optionalString (targetPlatform.libc == "musl")
           ''
               sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
           ''
  
positive.code:         "--disable-shared"
          "--disable-libatomic"  # libatomic requires libc
          "--disable-decimal-float" # libdecnumber requires libc
        ] else [
          (if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
           else                "--with-headers=${getDev libcCross}/include")
  
negative.code:             # In uclibc cases, libgomp needs an additional '-ldl'
              # and as I don't know how to pass it, I disable libgomp.
              "--disable-libgomp"
              # musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
              "--disable-libmpx"
            ] ++ [
            "--enable-threads=posix"
            "--enable-nls"
  