Date: Wed, 2 May 2007 16:54:22 +0800 From: "Thomas Zander" <thomas.e.zander@googlemail.com> To: ports@freebsd.org Subject: Undefine WITH_DEBUG? Message-ID: <786602c60705020154k74b23dbkae585bf01a867f92@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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? Riggs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?786602c60705020154k74b23dbkae585bf01a867f92>