How can I build debug version of libnd4j?

trying to compile a debug version of libnd4j to research a bug in native code. How can I make libnd4j with debug symbols?

Here is how you do it, Anton (per @agibsonccc):

just add build type: --build-type to the libnd4j buildnativeoperations script in maven you can also do:
mvn -Dlibnd4j.build=debug