[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make + LDFLAGS + current
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: make + LDFLAGS + current
- From: David Terrell <dbt_(_at_)_meat_(_dot_)_net>
- Date: Sat, 14 Apr 2001 03:31:30 -0700
- Mail-followup-to: David Terrell <dbt_(_at_)_meat_(_dot_)_net>, ports_(_at_)_openbsd_(_dot_)_org
- Reply-to: David Terrell <dbt_(_at_)_meat_(_dot_)_net>
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