This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Ignore --disable-static in libiberty


On Dec 19, 2004, "H. J. Lu" <hjl@lucon.org> wrote:

> +# FIXME: libiberty doesn't support --disable-static
> +enable_static=yes

You shouldn't need this in general.  AM_DISABLE_SHARED should take
care of implicitly enabling static, unless --disable-static is
actually given in the command line.  If libiberty absolutely needs the
static libiberty.a, then I can see why you'd want this (but I'd at
least print a warning); otherwise, I'd just leave it alone, and if
someone configures with --disable-static, they get what they asked
for.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]