summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-08-04 16:22:34 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-08-04 16:22:34 +0000
commit8db3ab176084d8a15e055d8959c7cc158e422fa5 (patch)
tree8b7b846a15ef420fff1d215d47d0c71dc9332c32 /eclass/makeedit.eclass
parentCorrected the rep-gtk dep to match with the correct gnome1 version. Also shou... (diff)
downloadhistorical-8db3ab176084d8a15e055d8959c7cc158e422fa5.tar.gz
historical-8db3ab176084d8a15e055d8959c7cc158e422fa5.tar.bz2
historical-8db3ab176084d8a15e055d8959c7cc158e422fa5.zip
more flag changes
Diffstat (limited to 'eclass/makeedit.eclass')
-rw-r--r--eclass/makeedit.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/makeedit.eclass b/eclass/makeedit.eclass
index 56cd17cd64b3..a6736120cb2c 100644
--- a/eclass/makeedit.eclass
+++ b/eclass/makeedit.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.2 2002/07/26 21:50:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.3 2002/08/04 16:22:34 spider Exp $
# Author: Spider
# makeedit eclass, will remove -Wreturn-type and -Wall from compiling, this will reduce the RAM requirements.
@@ -10,14 +10,14 @@ ECLASS="makeedit"
INHERITED="$INHERITED $ECLASS"
INHERITED="$INHERITED $ECLASS"
-export CFLAGS="${CFLAGS} -Wno-return-type"
-export CXXFLAGS="${CXXFLAGS} -Wno-return-type"
+export CFLAGS="${CFLAGS} -Wno-return-type -w"
+export CXXFLAGS="${CXXFLAGS} -Wno-return-type -w"
edit_makefiles () {
find . -iname makefile |while read MAKEFILE
do einfo "parsing ${MAKEFILE}"
cp ${MAKEFILE} ${MAKEFILE}.old
- sed -e "s:-Wall:-Wall -Wno-return-type:g" \
+ sed -e "s:-Wall:-Wno-return-type:g" \
-e "s:-Wreturn-type:-Wno-return-type:g" \
-e "s:-pedantic::g" ${MAKEFILE}.old > ${MAKEFILE}
done