/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.69 Revision 1.70
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.69 2007/03/27 01:46:50 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.70 2007/06/16 07:11:43 vapier Exp $
4# 4#
5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org> 5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
6# 6#
7# This eclass contains (or should) functions to get common info 7# This eclass contains (or should) functions to get common info
8# about the toolchain (libc/compiler/binutils/etc...) 8# about the toolchain (libc/compiler/binutils/etc...)
291# gen_usr_ldscript libfoo.so 291# gen_usr_ldscript libfoo.so
292# 292#
293# Note that you should in general use the unversioned name of 293# Note that you should in general use the unversioned name of
294# the library, as ldconfig should usually update it correctly 294# the library, as ldconfig should usually update it correctly
295# to point to the latest version of the library present. 295# to point to the latest version of the library present.
296_tc_gen_usr_ldscript() { 296gen_usr_ldscript() {
297 local lib libdir=$(get_libdir) output_format="" 297 local lib libdir=$(get_libdir) output_format=""
298 # Just make sure it exists 298 # Just make sure it exists
299 dodir /usr/${libdir} 299 dodir /usr/${libdir}
300 300
301 # OUTPUT_FORMAT gives hints to the linker as to what binary format 301 # OUTPUT_FORMAT gives hints to the linker as to what binary format
323 END_LDSCRIPT 323 END_LDSCRIPT
324 fi 324 fi
325 fperms a+x "/usr/${libdir}/${lib}" || die "could not change perms on ${lib}" 325 fperms a+x "/usr/${libdir}/${lib}" || die "could not change perms on ${lib}"
326 done 326 done
327} 327}
328gen_usr_ldscript() { _tc_gen_usr_ldscript "$@" ; }

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20