First time here? Check out the FAQ!
answered 2013-02-05 04:03:18 -0600
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")