<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: Arial; font-size: 14px;"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: Arial; font-size: 14px;"><div>Hi,</div><div> </div><div>I want to build ffmpeg without optimization options, which means compiling flags uses O0 instead of O1-O3. I use the following command to build ffmpeg, where O1 is used in config.mak.</div><div> </div><div>./configure --enable-debug --disable-optimizations ......<br></div><div>I want to disable all optimization options to debug ffmpeg/ffmpeg_g program. If I change optimization options in config.mak, i.e. using O0 instead of O1, there will be some error messages during the building process:</div><div> </div><div>libavutil/libavutil.a(cpu.o): In function `av_get_cpu_flags':<br>/export/qiang/sourceCode/ffmpeg-2.8.3/libavutil/cpu.c:82: undefined reference to `ff_get_cpu_flags_aarch64'<br>/export/qiang/sourceCode/ffmpeg-2.8.3/libavutil/cpu.c:84: undefined reference to `ff_get_cpu_flags_arm'<br>/export/qiang/sourceCode/ffmpeg-2.8.3/libavutil/cpu.c:86: undefined reference to `ff_get_cpu_flags_ppc'<br></div><div>How to build ffmpeg with O0 option?</div><div> </div><div>B.R.</div><div> </div><div>Andrew</div><div> </div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span>