From: Reinhard N. <rn...@gm...> - 2006-08-27 19:22:27
|
Hi, Darren Salt wrote: >> xine-lib/src/libffmpeg/libavcodec/i386/Makefile.am contains the following >> lines: >> >> # Avoid "can't find register" failures with -O1 and higher >> dsputil_mmx.o dsputil_mmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-funroll-loops//g; s/-O[0-9]/-Os/g'` >> >> For any reason, this doesn't work if you do a >> >> make debug > > Then don't supply a reason. ;-) Well, the reason is "debug" ;-) If I omit debug, then it works perfectly. But I'm trying to create a DEBUG build. >> Compilation stops for the above reason, as the option "-O" is still given. >> When the file is compiled manually with "-Os", the compile succeeds. > > "s/-O\([0-9]\|\s\|$\)/-Os /g" should fix it. I've tried something similar already myself, but this change doesn't help. As you can see in the attachment, it only works for a plain make. With "make debug", it still fails. It must have something to do with the following definition in Makefile DEBUG_CFLAGS = -mtune=pentiumpro -O -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -g -DDEBUG but simply exchanging CFLAGS with DEBUG_CFLAGS in the above sed instruction didn't help. That's why I cannot supply a fix for this issue and ask for help. Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:rn...@gm... |