/[gentoo-x86]/eclass/makeedit.eclass
Gentoo

Contents of /eclass/makeedit.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Aug 4 16:22:34 2002 UTC (12 years, 2 months ago) by spider
Branch: MAIN
Changes since 1.2: +4 -4 lines
more flag changes

1 spider 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 spider 1.3 # $Header: /home/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.2 2002/07/26 21:50:16 danarmak Exp $
4 spider 1.1
5     # Author: Spider
6     # makeedit eclass, will remove -Wreturn-type and -Wall from compiling, this will reduce the RAM requirements.
7    
8     # Debug ECLASS
9     ECLASS="makeedit"
10 danarmak 1.2 INHERITED="$INHERITED $ECLASS"
11 spider 1.1
12     INHERITED="$INHERITED $ECLASS"
13 spider 1.3 export CFLAGS="${CFLAGS} -Wno-return-type -w"
14     export CXXFLAGS="${CXXFLAGS} -Wno-return-type -w"
15 spider 1.1
16     edit_makefiles () {
17     find . -iname makefile |while read MAKEFILE
18     do einfo "parsing ${MAKEFILE}"
19     cp ${MAKEFILE} ${MAKEFILE}.old
20 spider 1.3 sed -e "s:-Wall:-Wno-return-type:g" \
21 spider 1.1 -e "s:-Wreturn-type:-Wno-return-type:g" \
22     -e "s:-pedantic::g" ${MAKEFILE}.old > ${MAKEFILE}
23     done
24    
25     }

  ViewVC Help
Powered by ViewVC 1.1.20