Ask Your Question

Revision history [back]

Opencv is based on CMake, so if you want to change compiler flags, you should edit the CMakeLists.txt file, setting the EXTRA_C_FLAGS property this way:

set(EXTRA_C_FLAGS "-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp")