diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-03-06 20:17:44 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-03-06 20:17:44 +0900 |
| commit | b543a4e9dae2678722f579f768ac6b41541abf71 (patch) | |
| tree | ac0538d37a974e933289fb690d224351db52da1f | |
| parent | 0c2e97689495c545b81c142f30d5f7b81b78a184 (diff) | |
Remove `-f` option for `codesign`
Recent `codesign` seems to emit a "replacing existing signature"
warning even if it was an adhoc signature added by the linker. Since
"adhoc" signatures do not cause a failure when replaced, it is just
unnecessary and noisy.
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8be679667d..e816e0ea4e 100644 --- a/configure.ac +++ b/configure.ac @@ -1102,7 +1102,7 @@ main() ]) AC_CHECK_PROGS(dsymutil, $dsymutils dsymutil) AS_IF([test -n "$codesign"], [ - POSTLINK="{ test -z '\$(RUBY_CODESIGN)' || $codesign -s '\$(RUBY_CODESIGN)' -f \$@; }${POSTLINK:+; $POSTLINK}" + POSTLINK="{ test -z '\$(RUBY_CODESIGN)' || $codesign -s '\$(RUBY_CODESIGN)' \$@; }${POSTLINK:+; $POSTLINK}" ]) AS_IF([test -n "$dsymutil"], [ POSTLINK="$dsymutil \$@ 2>/dev/null${POSTLINK:+; $POSTLINK}" |
