I have ANSI C project where I use libxml2. But I can't build project because of the following error: "main_project" uses VFP register arguments "libxml2" does not. So now I want to build libxml2 with VFP support. How can I do it? I tried:
sudo ./configure CC=arm-linux-gnueabi-gcc --build=i686-linux --host=arm-linux --without-iconv --without-zlib --without-python --prefix=/usr/lib/libxml2-arm/ CFLAGS="-fno-stack-protector -mfloat-abi=hard -mfpu=neon" LDFLAGS="-fno-stack-protector"
make & make install
But flags "-mfloat-abi=hard -mfpu=neon" didn't seem to work out - the error still remains. What can be the problem? (target platform - Sitara AM335x, linux kernel 4.14.40, gcc version arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0).