gcc: move target-specific runtime libraries to separate output

This commit is contained in:
Ben Wolsieffer
2020-03-04 16:12:36 -05:00
parent 85befe90b0
commit e1831ebea3
2 changed files with 16 additions and 14 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ let
libc_bin = if libc == null then null else getBin libc;
libc_dev = if libc == null then null else getDev libc;
libc_lib = if libc == null then null else getLib libc;
cc_solib = getLib cc;
cc_solib = getLib cc
+ optionalString (targetPlatform != hostPlatform) "/${targetPlatform.config}";
# The wrapper scripts use 'cat' and 'grep', so we may need coreutils.
coreutils_bin = if nativeTools then "" else getBin coreutils;