How to set linker options for Hxcpp ( android build )?

I want to add build ID in the compiled .so library ( for Android) .

For that reason I should add -Wl,--build-id in the linker ( hxcpp toolchain for Android)

I tried to add it directly in gcc-toolchain.xml ( section linker) and before that in android-toolchain-clang.xml ( which give the error 'linker' input unused [-Wunused-command-line-argument] because in compiler flag have -c .

Any idea how can I add build id ?

Thank you.

One possible solution I found is to add in android-toolchain-clang.xml in section <linker id="dll" exe="clang++" > the following row : <flag value="-Wl,--build-id" />
Nice tutorial for Hxcpp is available here: GitHub - snowkit/hxcpp-guide: A guide for the Haxe CPP target build systems, CFFI and APIs