[BACK]Return to bsd.own.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.own.mk between version 1.105 and 1.106

version 1.105, 2011/06/23 22:46:12 version 1.106, 2011/07/04 23:37:32
Line 31 
Line 31 
 ELF_TOOLCHAIN?= yes  ELF_TOOLCHAIN?= yes
 .endif  .endif
   
 # gcc3  GCC2_ARCH=m68k m88k sparc vax
 .if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m88k" || \  GCC4_ARCH=amd64 hppa i386 mips64* powerpc sparc64
     ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "vax"  
   .for _arch in ${MACHINE_ARCH}
   .if !empty(GCC2_ARCH:M${_arch})
 USE_GCC3?=no  USE_GCC3?=no
 COMPILER_VERSION?=gcc2  COMPILER_VERSION?=gcc2
 .elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "hppa" || \  .elif !empty(GCC4_ARCH:M${_arch})
     ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH:Mmips64*} || \  
     ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"  
 COMPILER_VERSION?=gcc4  COMPILER_VERSION?=gcc4
 .else  .else
 USE_GCC3?=yes  USE_GCC3?=yes
 COMPILER_VERSION?=gcc3  COMPILER_VERSION?=gcc3
 .endif  .endif
   .endfor
   
 # where the system object and source trees are kept; can be configurable  # where the system object and source trees are kept; can be configurable
 # by the user in case they want them in ~/foosrc and ~/fooobj, for example  # by the user in case they want them in ~/foosrc and ~/fooobj, for example

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106