diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-11-22 17:19:57 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-11-29 12:33:24 +0100 |
commit | a2b06c3dca54c086cbd874c9547e281205a4ebc5 (patch) | |
tree | d2409619ce1dc0cbf5cc3ffd9220b2e0efc80362 /src/compilers/gcc-13-native.TARGETS | |
parent | 97d420a465c4920ee6acfb2a9899d996987c4215 (diff) | |
download | bootstrappable-toolchain-a2b06c3dca54c086cbd874c9547e281205a4ebc5.tar.gz |
Update to latest rules
Diffstat (limited to 'src/compilers/gcc-13-native.TARGETS')
-rw-r--r-- | src/compilers/gcc-13-native.TARGETS | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/compilers/gcc-13-native.TARGETS b/src/compilers/gcc-13-native.TARGETS index 3b79d36..27cdf80 100644 --- a/src/compilers/gcc-13-native.TARGETS +++ b/src/compilers/gcc-13-native.TARGETS @@ -152,6 +152,9 @@ , "find . -type f -name '*.so*' -exec sh -c \"strip {} 2>/dev/null\" \\;" , "find . -type f -name '*.a' -exec sh -c \"strip -g {}\" \\;" , "find . -type f -name '*.o' -exec sh -c \"strip -g {}\" \\;" + , "GCC_LIBDIR=\"lib/gcc/$(./bin/gcc -dumpmachine)/$(./bin/gcc -dumpfullversion -dumpversion)\"" + , "mv ${GCC_LIBDIR}/include-fixed ${TMPDIR}/" + , "cp -rL ${TMPDIR}/include-fixed ${GCC_LIBDIR}/. # resolve symlinks" , "if [ -n \"${LINK_ARGS}\" ]; then" , " cd ${DESTDIR}/bin" , " mv gcc gcc.real" @@ -178,16 +181,16 @@ { "type": "generic" , "arguments_config": ["ENV"] , "deps": ["toolchain"] - , "cmds": [":"] - , "outs": ["lib64/libstdc++.so.6"] + , "cmds": ["cp -L lib64/libstdc++.so.6 ."] + , "outs": ["libstdc++.so.6"] , "env": {"type": "var", "name": "ENV", "default": {"type": "empty_map"}} } , "libgcc_s_files": { "type": "generic" , "arguments_config": ["ENV"] , "deps": ["toolchain"] - , "cmds": [":"] - , "outs": ["lib64/libgcc_s.so.1"] + , "cmds": ["cp -L lib64/libgcc_s.so.1 ."] + , "outs": ["libgcc_s.so.1"] , "env": {"type": "var", "name": "ENV", "default": {"type": "empty_map"}} } } |