Bug 1755834 - Remove compiler-rt-13-no-codesign.patch. r=firefox-build-system-reviewers,andi

Now that mac compiler-rts are built with build-compiler-rt.sh, which has
its own hack around codesign (which was broken in bug 1755415, so fix that),
we don't need this patch anymore.

Differential Revision: https://phabricator.services.mozilla.com/D138985
This commit is contained in:
Mike Hommey 2022-02-18 07:01:18 +00:00
Родитель a7d4b25671
Коммит 2f9cc7e46f
4 изменённых файлов: 2 добавлений и 22 удалений

Просмотреть файл

@ -9,7 +9,6 @@
"bug47258-extract-symbols-mbcs.patch",
"Remove-FlushViewOfFile-when-unmaping-gcda-files.patch",
"fuzzing_ccov_build_clang_12.patch",
"compiler-rt-13-no-codesign.patch",
"win64-no-symlink.patch",
"revert-llvmorg-13-init-8182-gc2297544c047.patch",
"revert-llvmorg-12-init-7827-g2a078c307204.patch",

Просмотреть файл

@ -8,7 +8,6 @@
"downgrade-mangling-error_clang_12.patch",
"bug47258-extract-symbols-mbcs.patch",
"Remove-FlushViewOfFile-when-unmaping-gcda-files.patch",
"fuzzing_ccov_build_clang_12.patch",
"compiler-rt-13-no-codesign.patch"
"fuzzing_ccov_build_clang_12.patch"
]
}

Просмотреть файл

@ -1,19 +0,0 @@
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index bc69ec95c419..9f100fdcec2f 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -366,14 +366,6 @@ function(add_compiler_rt_runtime name type)
set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
endif()
- if(APPLE)
- # Ad-hoc sign the dylibs
- add_custom_command(TARGET ${libname}
- POST_BUILD
- COMMAND codesign --sign - $<TARGET_FILE:${libname}>
- WORKING_DIRECTORY ${COMPILER_RT_OUTPUT_LIBRARY_DIR}
- )
- endif()
endif()
set(parent_target_arg)

Просмотреть файл

@ -70,6 +70,7 @@ case "$target" in
# Give it a fake one.
echo "#!/bin/sh" > codesign
chmod +x codesign
PATH="$PATH:$PWD"
;;
*-linux-android)
cflags="