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