Skip to content

Commit

Permalink
Switch to -msign-return-address=all for gcc-8
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdy committed May 25, 2022
1 parent ca3871e commit bb20bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ def configure_node(o):

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

if options.node_snapshot_main is not None:
if options.shared:
Expand Down

0 comments on commit bb20bf4

Please sign in to comment.