Skip to content

Commit

Permalink
Workaround 32 bits linker problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Nov 5, 2021
1 parent 240a56b commit cff684e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
--------------

- Rename sub-modules to more standard names.
- Workaround 32 bits linker problem.

0.4 2019-04-06
--------------
Expand Down
5 changes: 5 additions & 0 deletions config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ let conf_crlibm c =
else (
copy "log.c" "log-selected.c";
);
(* Workaround 32 bits linker problem. See
https://github.com/ocaml/opam-repository/pull/19943 *)
let cflags = if arch = "i386" && system = "linux" then
"-ccopt -z -ccopt notext" :: cflags
else cflags in
cflags

let () =
Expand Down

0 comments on commit cff684e

Please sign in to comment.