mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
Allow opting into 16 KiB ARM64 code pages for macOS signing (#50384)
Set `OAI_RCODESIGN_ARM64_16K_CODE_PAGES=true` to pass `--arm64-16k-code-pages` when signing with `rcodesign`. The option is disabled by default. GitOrigin-RevId: ee7d4992f89a8fe2eb355fb2516a0188e7583812
This commit is contained in:
@@ -202,6 +202,10 @@ sign_with_rcodesign() {
|
||||
--pkcs11-key-label "$OAI_AKV_KEY_LABEL"
|
||||
)
|
||||
|
||||
if [[ "${OAI_RCODESIGN_ARM64_16K_CODE_PAGES:-false}" == "true" ]]; then
|
||||
rcodesign_args+=(--arm64-16k-code-pages)
|
||||
fi
|
||||
|
||||
if [[ "$deep" == "false" ]]; then
|
||||
rcodesign_args+=(--shallow)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user