git: Makefile.inc1: Fix build when MAKEOBJDIRPREFIX is provided

John Marino marino at crater.dragonflybsd.org
Sat Sep 28 02:25:02 PDT 2013


commit 75d86d8d3ad8755e4a3bfb102fa5236cb2d59c38
Author: John Marino <draco at marino.st>
Date:   Sat Sep 28 11:02:49 2013 +0200

    Makefile.inc1: Fix build when MAKEOBJDIRPREFIX is provided
    
    While testing a patch that removed symbols from libc, Joris found his
    build would break on leaf with MAKEOBJDIRPREFIX set in the command-line.
    While this is a misuse of the feature per bsd.obj.mk comments, the issue
    was reproduced on my machine.  The object files from btools, ctools, and
    world were getting placed in common directories, so world binaries were
    being built with bootstrap and crosstools objects.
    
    I do not know if this has always been the case, or if this started
    happening when bmake replaced legacy make.  In any case, changing the
    way DESTDIRBASE is defined solved the build issues on the local machine.

Summary of changes:
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75d86d8d3ad8755e4a3bfb102fa5236cb2d59c38


-- 
DragonFly BSD source repository



More information about the Commits mailing list