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

Contents of /eclass/makeedit.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jul 26 21:50:16 2002 UTC (11 years, 9 months ago) by danarmak
Branch: MAIN
Changes since 1.1: +2 -1 lines
fix ,  in many eclasses

1 spider 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 danarmak 1.2 # $Header: /home/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.1 2002/07/24 23:57:00 spider 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     export CFLAGS="${CFLAGS} -Wno-return-type"
14     export CXXFLAGS="${CXXFLAGS} -Wno-return-type"
15    
16     edit_makefiles () {
17     find . -iname makefile |while read MAKEFILE
18     do einfo "parsing ${MAKEFILE}"
19     cp ${MAKEFILE} ${MAKEFILE}.old
20     sed -e "s:-Wall:-Wall -Wno-return-type:g" \
21     -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