Thomas Zander wrote:
Hi,
I am trying to track down a problem with building mplayer with debug
symbols. The problem is that this seems possible (at least on my
machine) only if it is compiled with
-O{1|2|3} -fomit-frame-pointer
due to one of its incredibly smart inline-asm sections.
Now, when using WITH_DEBUG in a port, "-O" expressions are stripped
from the CFLAGS by the port build environment.
The actual issue is that users who define WITH_DEBUG globally for
their ports will probably run into this.
Is there an elegant solution to circumvent this and undefine WITH_DEBUG?
I think you need to add DEBUG_FLAGS="-g -O2 -fomit-frame-pointer".
Riggs
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"