1 |
Hi |
2 |
|
3 |
Easiest and best way to do it IMHO: |
4 |
|
5 |
CFLAGS=${CFLAGS/-funroll-loops} |
6 |
|
7 |
See ya! |
8 |
|
9 |
On Friday 05 April 2002 20:58, Spider wrote: |
10 |
|| try something like : |
11 |
|| CFLAGS=`echo CFLAGS | sed s:-funroll-loops::g` |
12 |
|| //Spider |
13 |
|| |
14 |
|| begin quote |
15 |
|| On Fri, 05 Apr 2002 09:04:37 -0800 |
16 |
|| |
17 |
|| Zach Forrest <zach@××××××××××××××.ca> wrote: |
18 |
|| > I've been working on an ebuild recently and the package won't compile |
19 |
|| > with the '-funroll-loops' compiler flag. It might be nice to have a |
20 |
|| > couple of variables such as 'BAD_CFLAGS' and 'BAD_CXXFLAGS' that would |
21 |
|| > tell portage to remove these compiler flags for a particular ebuild. |
22 |
|| > This would provide a uniform way to deal with any similar problems |
23 |
|| > without someone having to modify their optimization settings for one |
24 |
|| > ebuild. |
25 |
|| > |
26 |
|| > Any thoughts? |
27 |
|| > |
28 |
|| > Zach |
29 |
|| > |
30 |
|| > _______________________________________________ |
31 |
|| > gentoo-dev mailing list |
32 |
|| > gentoo-dev@g.o |
33 |
|| > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
34 |
|
35 |
-- |
36 |
Bart Verwilst |
37 |
Gentoo Linux Developer, Desktop Team |
38 |
Gent, Belgium |