30 lines
880 B
Diff
30 lines
880 B
Diff
From 4ac90c41065d338c4305cf6dc39e3084b21a7f79 Mon Sep 17 00:00:00 2001
|
|
From: Michal Vasilek <michal@vasilek.cz>
|
|
Date: Sun, 20 Nov 2022 19:22:03 +0100
|
|
Subject: [PATCH] Revert "build: enable pointer authentication for branch
|
|
protection on arm64"
|
|
|
|
This reverts commit 938212f3e74a74d0b436941aa24e71425ff666c5.
|
|
---
|
|
configure.py | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/configure.py b/configure.py
|
|
index d3192ca04c..2d049eb938 100755
|
|
--- a/configure.py
|
|
+++ b/configure.py
|
|
@@ -1241,10 +1241,6 @@ def configure_node(o):
|
|
|
|
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
|
|
|
|
- # Enable branch protection for arm64
|
|
- if target_arch == 'arm64':
|
|
- o['cflags']+=['-msign-return-address=all']
|
|
-
|
|
if options.node_snapshot_main is not None:
|
|
if options.shared:
|
|
# This should be possible to fix, but we will need to refactor the
|
|
--
|
|
2.38.1
|
|
|