File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
finding a reference counting bug when handling exceptions.
8
8
- Fixed collation link freeing bug. Thanks to ` o3-mini-high ` for suggesting the
9
9
fix without even being prompted (minus-shot).
10
+ - Remove ` -O2 ` compiler flag since optimization flags owned by and can conflict
11
+ with ` ocamlc -config ` .
10
12
11
13
## [ 5.3.0] - 2025-01-20
12
14
Original file line number Diff line number Diff line change @@ -71,9 +71,8 @@ let split_ws str =
71
71
let add_compiler_args ~is_msvc ~cflags ~libs =
72
72
let module C = Configurator. V1 in
73
73
match is_msvc with
74
- | true -> { C.Pkg_config. cflags = cflags @ [ " /O2" ]; libs }
75
- | false ->
76
- { C.Pkg_config. cflags = cflags @ [ " -O2" ; " -fPIC" ; " -DPIC" ]; libs }
74
+ | true -> { C.Pkg_config. cflags; libs }
75
+ | false -> { C.Pkg_config. cflags = cflags @ [ " -fPIC" ; " -DPIC" ]; libs }
77
76
78
77
let () =
79
78
let module C = Configurator. V1 in
You can’t perform that action at this time.
0 commit comments