UPDATE: The originally targeted version 2.40.102 doesn't appear to work with a modern openwrt build. It builds the toolchain IPKs (libc and libgcc), but just enters and leaves the feeds/addpack/unison directory without apparently doing anything. Version 2.9.1 fails with a problem related to GDK.
ORIGINAL: The current stable unison 2.48.3 fails due to invalid options being passed to ocamlopt (perhaps due to a top level CFLAGS?). I'm afraid I don't yet understand enough about the openwrt build system to correct this and submit a patched Makefile.
Here is the option list given to ocaml when building native on x64:
UPDATE: The originally targeted version 2.40.102 doesn't appear to work with a modern openwrt build. It builds the toolchain IPKs (libc and libgcc), but just enters and leaves the feeds/addpack/unison directory without apparently doing anything. Version 2.9.1 fails with a problem related to GDK.
ORIGINAL: The current stable unison 2.48.3 fails due to invalid options being passed to ocamlopt (perhaps due to a top level CFLAGS?). I'm afraid I don't yet understand enough about the openwrt build system to correct this and submit a patched Makefile.
Here is the option list given to ocaml when building native on x64:
But here is the option list when building for my target openwrt: