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 | 873079d46280c8c4d4b73299990619f6ef359d51 (patch) | |
tree | c304cb388b6a3ad368d3b6ebc141f4b21facd336 /eclass/flag-o-matic.eclass | |
parent | hppa stable (diff) | |
download | historical-873079d46280c8c4d4b73299990619f6ef359d51.tar.gz historical-873079d46280c8c4d4b73299990619f6ef359d51.tar.bz2 historical-873079d46280c8c4d4b73299990619f6ef359d51.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} $@" |