[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default value for CFLAGS/LDFLAGS set by dpkg



On Tue, Apr 01, 2008 at 11:15:37AM +0200, Josselin Mouette wrote:
> On mar, 2008-04-01 at 01:21 -0700, Steve Langasek wrote:
> > On Mon, Mar 31, 2008 at 06:57:48PM +0200, Kurt Roeckx wrote:
> > > I also have to wonder that if we have something like this as default,
> > > why -Bsymbolic-functions would be a good default, and not -Bsymbolic.

> > I'm told the difference is that the former is safe to use as an option when
> > linking executables, and the latter is not.

> According to the documentation, both only apply to shared libraries;
> AIUI, local symbols are always used by default for programs.

> Also, do you know why it would be safe for functions and not for other
> symbols?

The difference was that -Bsymbolic causes build problems with executables,
and -Bsymbolic-functions does not.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org


Reply to: