[Xfce-bugs] [Bug 5887] Add support for -Bsymbolic-functions to LD checks

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Oct 20 11:42:54 CEST 2009


http://bugzilla.xfce.org/show_bug.cgi?id=5887

Brian J. Tarricone <bjt23 at cornell.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #4 from Brian J. Tarricone <bjt23 at cornell.edu> 2009-10-20 02:42:53 PDT ---
I'll look at this tomorrow, but just a quick thought to toss out before I try
to go back to bed:

Would it make sense to AC_REQUIRE() XDT_FEATURE_DEBUG at the top of
XDT_FEATURE_LINKER_OPTS?  That way you don't even need to specify the former if
you do the latter.  Though I guess that could make the definition get emitted
twice if they're both included.  Is there a way to tell m4/autoconf "only
expand this macro if it hasn't been expanded before, otherwise expand to
nothing"?

The problem with your idea of checking $enable_debug is that it doesn't allow
using XDT_FEATURE_LINKER_OPTS without _DEBUG.  While personally I think not
using _DEBUG is silly, maybe someone might want the linker opts and not have a
debug flag.

At any rate, since _LINKER_OPTS has been around for such a short time, I think
it's totally fine to require _DEBUG before _LINKER_OPTS in the next released
version.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list