diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 11:21:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 11:21:15 +0000 |
commit | d737d11e035b8903b121898c68606423e4a82a95 (patch) | |
tree | a02e6135836b77e8bcfd912ea97decafcd5a79d3 /eclass/flag-o-matic.eclass | |
parent | Don't assign default to S; header fix (Manifest recommit) (diff) | |
download | gentoo-2-d737d11e035b8903b121898c68606423e4a82a95.tar.gz gentoo-2-d737d11e035b8903b121898c68606423e4a82a95.tar.bz2 gentoo-2-d737d11e035b8903b121898c68606423e4a82a95.zip |
add filter-lfs-flags
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 79aa432a269a..114e2856679e 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.39 2004/03/12 05:14:45 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.40 2004/03/12 11:21:15 vapier Exp $ # # Author Bart Verwilst <verwilst@gentoo.org> @@ -98,6 +98,10 @@ filter-flags() { return 0 } +filter-lfs-flags() { + filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +} + append-flags() { export CFLAGS="${CFLAGS} $@" export CXXFLAGS="${CXXFLAGS} $@" |