From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QtkKQ-0002Bl-Do for garchives@archives.gentoo.org; Wed, 17 Aug 2011 17:55:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4620B21C064; Wed, 17 Aug 2011 17:54:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 115FC21C064 for ; Wed, 17 Aug 2011 17:54:50 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36EB01B400B for ; Wed, 17 Aug 2011 17:54:50 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id F1A082004C; Wed, 17 Aug 2011 17:54:48 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: flag-o-matic.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: flag-o-matic.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20110817175448.F1A082004C@flycatcher.gentoo.org> Date: Wed, 17 Aug 2011 17:54:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a94f28be0d8f8d8d564218da6f50c836 vapier 11/08/17 17:54:48 Modified: flag-o-matic.eclass Log: document what each LFS flag does exactly Revision Changes Path 1.153 eclass/flag-o-matic.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?rev=3D1.153&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?rev=3D1.153&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-mati= c.eclass?r1=3D1.152&r2=3D1.153 Index: flag-o-matic.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v retrieving revision 1.152 retrieving revision 1.153 diff -u -r1.152 -r1.153 --- flag-o-matic.eclass 12 Jul 2011 04:08:52 -0000 1.152 +++ flag-o-matic.eclass 17 Aug 2011 17:54:48 -0000 1.153 @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.152 20= 11/07/12 04:08:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.153 20= 11/08/17 17:54:48 vapier Exp $ =20 # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -131,6 +131,10 @@ # Remove flags that enable Large File Support. filter-lfs-flags() { [[ -n $@ ]] && die "filter-lfs-flags takes no arguments" + # http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html + # _LARGEFILE_SOURCE: enable support for new LFS funcs (ftello/etc...) + # _LARGEFILE64_SOURCE: enable support for 64bit variants (off64_t/fseek= o64/etc...) + # _FILE_OFFSET_BITS: default to 64bit variants (off_t is defined as off= 64_t) filter-flags -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE6= 4_SOURCE } =20