Skip to content

Commit b47870d

Browse files
committed
Use IBT by default on x86-64 BSD
1 parent 727a943 commit b47870d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

driver/Clflags.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ let option_mthumb = ref (Configuration.model = "armv7m")
4040
let option_Osize = ref false
4141
let option_finline = ref true
4242
let option_finline_functions_called_once = ref true
43-
let option_fcf_protection = ref false
43+
let option_fcf_protection = ref
44+
(match Configuration.arch, Configuration.model, Configuration.system with
45+
| "x86", "64", "bsd" -> true
46+
| _ -> false)
4447
let option_dprepro = ref false
4548
let option_dparse = ref false
4649
let option_dcmedium = ref false

0 commit comments

Comments
 (0)