[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.134 and 1.135

version 1.134, 2013/01/31 23:35:02 version 1.135, 2013/02/02 13:38:41
Line 22 
Line 22 
 # Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols  # Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols
 DEBUGLIBS?=     no  DEBUGLIBS?=     no
 # Set toolchain to be able to know differences.  # Set toolchain to be able to know differences.
 .if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "vax"  .if ${MACHINE_ARCH} == "vax"
 ELF_TOOLCHAIN?= no  ELF_TOOLCHAIN?= no
 .else  .else
 ELF_TOOLCHAIN?= yes  ELF_TOOLCHAIN?= yes
Line 149 
Line 149 
 PICFLAG?=-fPIC  PICFLAG?=-fPIC
 .else  .else
 PICFLAG?=-fpic  PICFLAG?=-fpic
 . if ${MACHINE_ARCH} == "m68k"  
 # Function CSE makes gas -k not recognize external function calls as lazily  
 # resolvable symbols, thus sometimes making ld.so report undefined symbol  
 # errors on symbols found in shared library members that would never be  
 # called.  Ask niklas@openbsd.org for details.  
 PICFLAG+=-fno-function-cse  
 . endif  
 .endif  .endif
   
 .if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"  .if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135