diff options
Diffstat (limited to 'src/compilers/gcc-13-musl-static.TARGETS')
-rw-r--r-- | src/compilers/gcc-13-musl-static.TARGETS | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/compilers/gcc-13-musl-static.TARGETS b/src/compilers/gcc-13-musl-static.TARGETS index 0ef5c57..247b1d2 100644 --- a/src/compilers/gcc-13-musl-static.TARGETS +++ b/src/compilers/gcc-13-musl-static.TARGETS @@ -125,6 +125,12 @@ { "type": ["@", "rules", "CC/prebuilt", "library"] , "name": ["libgcc"] , "lib": ["libgcc_s_files"] + , "deps": ["libc"] + } +, "libc": + { "type": ["@", "rules", "CC/prebuilt", "library"] + , "name": ["libc"] + , "lib": ["libc_files"] } , "libgcc_s_files": { "type": "generic" @@ -134,4 +140,12 @@ , "outs": ["libgcc_s.so.1"] , "env": {"type": "var", "name": "ENV", "default": {"type": "empty_map"}} } +, "libc_files": + { "type": "generic" + , "arguments_config": ["ENV"] + , "deps": ["toolchain_for_target"] + , "cmds": ["cp -L $(./bin/gcc -dumpmachine)/lib/libc.so ."] + , "outs": ["libc.so"] + , "env": {"type": "var", "name": "ENV", "default": {"type": "empty_map"}} + } } |