git: gcc47: Restore cross-build capability

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Oct 4 09:59:21 PDT 2012


commit 58700ca72fc998e00907566b6d012e53056da342
Author: John Marino <netbsd at marino.st>
Date:   Thu Oct 4 18:03:52 2012 +0200

    gcc47: Restore cross-build capability
    
    The internal specs of gcc47 featured an hardcoded standard include
    directory which prevented cross-target builds.  The same mistake also
    caused the "crosstools" compiler in a native build to look at the host
    system includes instead of the world_{TARGET}/usr/includes directory.
    As a result, the cross-build would break as soon as GCC47 was used to
    build its own libraries.
    
    A stage-specific prefix was added to the internal specs directory
    definition that restored cross-target building capability.

Summary of changes:
 gnu/usr.bin/cc47/cc_prep/config/dragonfly-native.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58700ca72fc998e00907566b6d012e53056da342


-- 
DragonFly BSD source repository


More information about the Commits mailing list