make/defs.make

changeset 6452
faf0c78e906b
parent 5237
f2110083203d
child 6464
b83f7d608548
     1.1 --- a/make/defs.make	Tue Jul 09 14:28:07 2013 +0200
     1.2 +++ b/make/defs.make	Wed Jul 10 09:14:25 2013 -0700
     1.3 @@ -259,7 +259,7 @@
     1.4  
     1.5    # Use uname output for SRCARCH, but deal with platform differences. If ARCH
     1.6    # is not explicitly listed below, it is treated as x86.
     1.7 -  SRCARCH     = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc zero,$(ARCH)))
     1.8 +  SRCARCH     = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 arm ppc ppc64 zero,$(ARCH)))
     1.9    ARCH/       = x86
    1.10    ARCH/sparc  = sparc
    1.11    ARCH/sparc64= sparc
    1.12 @@ -285,6 +285,11 @@
    1.13        BUILDARCH = sparcv9
    1.14      endif
    1.15    endif
    1.16 +  ifeq ($(BUILDARCH), ppc)
    1.17 +    ifdef LP64
    1.18 +      BUILDARCH = ppc64
    1.19 +    endif
    1.20 +  endif
    1.21  
    1.22    # LIBARCH is 1:1 mapping from BUILDARCH
    1.23    LIBARCH         = $(LIBARCH/$(BUILDARCH))
    1.24 @@ -293,12 +298,12 @@
    1.25    LIBARCH/sparc   = sparc
    1.26    LIBARCH/sparcv9 = sparcv9
    1.27    LIBARCH/ia64    = ia64
    1.28 -  LIBARCH/ppc64   = ppc
    1.29 +  LIBARCH/ppc64   = ppc64
    1.30    LIBARCH/ppc     = ppc
    1.31    LIBARCH/arm     = arm
    1.32    LIBARCH/zero    = $(ZERO_LIBARCH)
    1.33  
    1.34 -  LP64_ARCH = sparcv9 amd64 ia64 zero
    1.35 +  LP64_ARCH = sparcv9 amd64 ia64 ppc64 zero
    1.36  endif
    1.37  
    1.38  # Required make macro settings for all platforms

mercurial