summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-06 02:36:37 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-06 02:36:37 +0000
commit21c966ee39f5b0d3b25d058076a8c0815ceeddad (patch)
tree3148aaa0ac6eb50db1b941639444c237347aee65 /eclass/flag-o-matic.eclass
parentFix bug 50108: Create /boot/boot symlink in pkg_postinst because sometimes /b... (diff)
downloadgentoo-2-21c966ee39f5b0d3b25d058076a8c0815ceeddad.tar.gz
gentoo-2-21c966ee39f5b0d3b25d058076a8c0815ceeddad.tar.bz2
gentoo-2-21c966ee39f5b0d3b25d058076a8c0815ceeddad.zip
append-lfs-flags
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 15ffd5c850a6..f5bd2024eb98 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.47 2004/04/12 02:33:29 swtaylor Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.48 2004/05/06 02:36:37 vapier Exp $
#
# Author Bart Verwilst <verwilst@gentoo.org>
@@ -108,6 +108,10 @@ filter-lfs-flags() {
filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
}
+append-lfs-flags() {
+ append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+}
+
append-flags() {
export CFLAGS="${CFLAGS} $@"
export CXXFLAGS="${CXXFLAGS} $@"