dbuenzli / logs

Logging infrastructure for OCaml
http://erratique.ch/software/logs
ISC License
86 stars 19 forks source link

Need a way to pass LDFLAG during build #41

Closed satmandu closed 2 years ago

satmandu commented 2 years ago

On armv7l I'm only able to build by using ld.bdf, not ld.gold.

How would I pass LDFLAGS='-fuse-ld=ld.bfd' to an opam install of logs? (I believe this is the traditional way of passing a linker request but maybe there's an ocaml way here?)

(Continuation of https://github.com/dbuenzli/logs/issues/39 )

dbuenzli commented 2 years ago

You should handle that at the OCaml compiler level.