SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Index: configure.py
--- configure.py.orig
+++ configure.py
@@ -1565,6 +1565,10 @@ def configure_v8(o):
raise Exception(
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
'can be specified at a time.')
+ host_arch = host_arch_win() if os.name == 'nt' else host_arch_cc()
+ target_arch = options.dest_cpu or host_arch
+ if target_arch == 'arm64':
+ o['variables']['v8_control_flow_integrity'] = 1
def configure_openssl(o):
variables = o['variables']