From owner-cvs-gnu Wed Apr 16 04:31:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA20704 for cvs-gnu-outgoing; Wed, 16 Apr 1997 04:31:36 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA20695; Wed, 16 Apr 1997 04:31:34 -0700 (PDT) Date: Wed, 16 Apr 1997 04:31:34 -0700 (PDT) From: Bruce Evans Message-Id: <199704161131.EAA20695@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/ld/rtld Makefile Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/16 04:31:33 Modified: gnu/usr.bin/ld/rtld Makefile Log: Fixed `make depend' and related bogons. LDFLAGS was used for ld-specific flags. LDFLAGS is really for ld-related flags for cc, not for ld, and some flags, e.g., -Bshareable, mean completely different things to cc and ld. Having the wrong things in LDFLAGS also broke the standard ${PROG} target. This was kludged around by using a special rule that depended on LDFLAGS being bogus. Fixing `make depend' broke the special rule but fixed the standard rule (except in the DESTDIR case, which was handled more strictly here than elsewhere). Revision Changes Path 1.24 +2 -10 src/gnu/usr.bin/ld/rtld/Makefile