I am compiling OpenCV in order to make it more optimized possible to run on Cortex-A53 processor in a NanoPI M3 produced by FriendlyARM.
I have used in my projects the following keys:
-mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -march=armv8-a+crc
Enabling the CMake with the following option besides "ENABLE_NEON = ON:
-D EXTRA_C_FLAGS_RELEASE="-mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -march=armv8-a+crc"
I did not succeed because the OpenCV settings do not use it.
What better way of passing those extra parameters to compile?