chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] LDFLAGS and Makefile.linux


From: Erik Falor
Subject: [Chicken-hackers] LDFLAGS and Makefile.linux
Date: Thu, 29 Dec 2011 23:31:07 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

I've taken over the care and feeding of the Chicken package for Gentoo
Linux, and as part of my new duties I've been clearing out some of the
bugs that have been accumulating.  One of the bugs[1] involves
Makefile not consulting the user's LDFLAGS environment variable.

Gentoo best-practices dictate that the *FLAGS variables be respected
by build scripts because giving this level of control over their
packages is the reason they use Gentoo in the first place.

However, I understand that Chicken's build process is unique among
software, and wanted to ask the hackers what the consequences would be
of including the user's LDFLAGS into Makefile.linux's
LIBCHICKEN_SO_LINKER_OPTIONS variable.  Are there some LDFLAGS which
would result in a Chicken that can't cross the road?  Or would cause
it to cross too slowly for safety?

I've noticed that some makefiles have a variable LINKER_OPTIONS (e.g.
Makefile.macosx, Makefile.mingw, Makefile.cygwin), but not all of
these incorporate its value into LIBCHICKEN_SO_LINKER_OPTIONS.  Since
I've only ever built Chicken on Linux systems I can't be sure what
reasoning there is behind this design.

Thanks,
Erik

[1] https://bugs.gentoo.org/show_bug.cgi?id=335418

-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

Attachment: pgpKOe51U1ZxH.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]