| 1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.1 2002/07/24 23:57:00 spider Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/makeedit.eclass,v 1.2 2002/07/26 21:50:16 danarmak Exp $ |
| 4 | |
4 | |
| 5 | # Author: Spider |
5 | # Author: Spider |
| 6 | # makeedit eclass, will remove -Wreturn-type and -Wall from compiling, this will reduce the RAM requirements. |
6 | # makeedit eclass, will remove -Wreturn-type and -Wall from compiling, this will reduce the RAM requirements. |
| 7 | |
7 | |
| 8 | # Debug ECLASS |
8 | # Debug ECLASS |
| 9 | ECLASS="makeedit" |
9 | ECLASS="makeedit" |
|
|
10 | INHERITED="$INHERITED $ECLASS" |
| 10 | |
11 | |
| 11 | INHERITED="$INHERITED $ECLASS" |
12 | INHERITED="$INHERITED $ECLASS" |
| 12 | export CFLAGS="${CFLAGS} -Wno-return-type" |
13 | export CFLAGS="${CFLAGS} -Wno-return-type" |
| 13 | export CXXFLAGS="${CXXFLAGS} -Wno-return-type" |
14 | export CXXFLAGS="${CXXFLAGS} -Wno-return-type" |
| 14 | |
15 | |