Skip to content

Commit de70edd

Browse files
committed
Use IBT by default on x86-64 BSD
1 parent 66801e0 commit de70edd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

driver/Clflags.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ let option_mthumb = ref (Configuration.model = "armv7m")
3838
let option_Osize = ref false
3939
let option_finline = ref true
4040
let option_finline_functions_called_once = ref true
41-
let option_fcf_protection = ref false
41+
let option_fcf_protection = ref
42+
(match Configuration.arch, Configuration.model, Configuration.system with
43+
| "x86", "64", "bsd" -> true
44+
| _ -> false)
4245
let option_dprepro = ref false
4346
let option_dparse = ref false
4447
let option_dcmedium = ref false

0 commit comments

Comments
 (0)