Skip to content

Commit bb20bf4

Browse files
committed
Switch to -msign-return-address=all for gcc-8
1 parent ca3871e commit bb20bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def configure_node(o):
12331233

12341234
# Enable branch protection for arm64
12351235
if target_arch == 'arm64':
1236-
o['cflags']+=[' -mbranch-protection=pac-ret ']
1236+
o['cflags']+=['-msign-return-address=all']
12371237

12381238
if options.node_snapshot_main is not None:
12391239
if options.shared:

0 commit comments

Comments
 (0)