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

make + LDFLAGS + current



I'm working on my mxconns port (behind a rev), and I was curious
if LDFLAGS was inherited the way CFLAGS was.  So I patched the port
to not clobber the existing CFLAGS/LDFLAGS (+= instead of =) and
while CFLAGS gets passed down from the port make to the wrkdir make,
LDFLAGS doesn't.  LDFLAGS=foo make or make LDFLAGS=foo breaks the
compile in the wrkdir, but does not in the port dir.

Is this a problem in make or am I clobbering something?

-- 
David Terrell   | "The reasons for my decision to quit were myriad, but 
Nebcorp PM      | central to the decision was the realization that there are 
dbt_(_at_)_meat_(_dot_)_net    | two kinds of companies:  Good ones ask you to think for 
wwn.nebcorp.com | them.  The others tell you to think like them." -Benjy Feen



Visit your host, monkey.org