summary refs log blame commit diff
path: root/pkgs/development/web/nodejs/revert-arm64-pointer-auth.patch
blob: f5827983d7f2a542e8f382fead1a87e93c67e145 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                          
Fixes cross compilation to aarch64-linux by reverting
https://github.com/nodejs/node/pull/43200

--- old/configure.py
+++ new/configure.py
@@ -1236,7 +1236,6 @@
 
   # Enable branch protection for arm64
   if target_arch == 'arm64':
-    o['cflags']+=['-msign-return-address=all']
     o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
 
   if options.node_snapshot_main is not None: