| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1233,6 +1233,10 @@ def configure_node(o): | |||
| 1233 | 1233 | ||
| 1234 | 1234 | o['variables']['want_separate_host_toolset'] = int(cross_compiling) | |
| 1235 | 1235 | ||
| 1236 | + # Enable branch protection for arm64 | ||
| 1237 | + if target_arch == 'arm64': | ||
| 1238 | + o['cflags']+=['-msign-return-address=all'] | ||
| 1239 | + | ||
| 1236 | 1240 | if options.node_snapshot_main is not None: | |
| 1237 | 1241 | if options.shared: | |
| 1238 | 1242 | # This should be possible to fix, but we will need to refactor the | |
| Back | FazBrowse Home | New Git URL |
0 commit comments