From 525a58b21d29b8ae28584164108999ce498dab33 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Thu, 13 Jun 2024 16:46:20 +0900 Subject: [PATCH] Overwritten when copying libgcc* objects in generate_sysroot script --- ci/tizen/generate_sysroot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/tizen/generate_sysroot.py b/ci/tizen/generate_sysroot.py index 66aea7987e9b3..4adb79470b502 100755 --- a/ci/tizen/generate_sysroot.py +++ b/ci/tizen/generate_sysroot.py @@ -100,7 +100,7 @@ def generate_sysroot(sysroot: Path, api_version: float, arch: str, quiet=False): libpath = sysroot / 'usr' / 'lib64' else: libpath = sysroot / 'usr' / 'lib' - subprocess.run('cp gcc/*/*/*.o gcc/*/*/*.a .', shell=True, cwd=libpath, check=True) + subprocess.run('cp -f gcc/*/*/*.o gcc/*/*/*.a .', shell=True, cwd=libpath, check=True) # Apply a patch if applicable. patch = Path(__file__).parent / '{}.patch'.format(arch)