Is there an “official” interface to pass extra CFLAGS to the ocaml compilers?
I just realized neither the old
ocaml.git#trunk:configure nor the new
ocaml.git#trunk:configure.ac ever considered
CFLAGS. Nor does any option exist to stuff more required compiler flags into
configure.ac:common_cflags, just so that every package will automatically use it.
In my case I have to pass
-fno-lto to all packages which do not build with
dune, which is (as of now) just
-Werror=implicit-function-declaration would be also desirable…
I mean, I can certainly hack around the lack of
--extra-cflags myself. Just wondering why it does not exist.