1 |
On Monday 22 March 2004 16:29, Jérôme Bouat wrote: |
2 |
la réponse est dans l'ebuild du package |
3 |
d'xfree /usr/portage/x11-base/xfree/xfree-4.3.0-r5.ebuild |
4 |
|
5 |
filter-flags "-funroll-loops" |
6 |
|
7 |
ALLOWED_FLAGS="-fstack-protector -march -mcpu -O -O1 -O2 -O3 -pipe" |
8 |
|
9 |
# Recently there has been a lot of stability problem in Gentoo-land. Many |
10 |
# things can be the cause to this, but I believe that it is due to gcc3 |
11 |
# still having issues with optimizations, or with it not filtering bad |
12 |
# combinations (protecting the user maybe from themselves) yet. |
13 |
# |
14 |
# This can clearly be seen in large builds like glibc, where too aggressive |
15 |
# CFLAGS cause the tests to fail miserbly. |
16 |
# |
17 |
# Quote from Nick Jones <carpaski@g.o>, who in my opinion |
18 |
# knows what he is talking about: |
19 |
# |
20 |
# People really shouldn't force code-specific options on... It's a |
21 |
# bad idea. The -march options aren't just to look pretty. They enable |
22 |
# options that are sensible (and include sse,mmx,3dnow when apropriate). |
23 |
# |
24 |
# The next command strips CFLAGS and CXXFLAGS from nearly all flags. If |
25 |
# you do not like it, comment it, but do not bugreport if you run into |
26 |
# problems. |
27 |
# |
28 |
# <azarah@g.o> (13 Oct 2002) |
29 |
strip-flags |
30 |
|
31 |
si tu veux utiliser tes flags, commente la ligne strip-flags. Mais bon c'est |
32 |
peut etre pas un truc a faire vu qu'ils disent qu'il y a eu pas mal de |
33 |
problèmes avec des optimisations trop poussées. |
34 |
|
35 |
|
36 |
> Mes CFLAGS ne sont pas pris en compte pendant la compilation de xfree. |
37 |
> |
38 |
> Je vois des lignes défiler avec : |
39 |
> gcc -c -O2 ... |
40 |
> alors que j'ai défini '-Os' |
41 |
> |
42 |
> |
43 |
> voilà mon /etc/make.conf: |
44 |
> ------------------------- |
45 |
> CFLAGS="-Os -fomit-frame-pointer -pipe -march=i586 -mno-3dnow -mmmx |
46 |
> -mno-sse" |
47 |
> CXXFLAGS="${CFLAGS}" |
48 |
> CHOST="i586-pc-linux-gnu" |
49 |
> MAKEOPTS="-j1" |
50 |
> USE="-java -3dfx -afs -alsa -altivec -arts -avi -cdr -cups -debug |
51 |
> -dedicated -doc -dvb -dvd -dvdr -encode -esd -ev6 -flac -flash |
52 |
> -foomaticdb -ggi -gnome -gphoto2 -gpm -gps -gstreamer -gtk -icc -icc-pgo |
53 |
> -jack -jikes -joystick -junit kde -matrox -mikmod -mozilla -mpeg -nas |
54 |
> -nocardbus -oggvorbis -opengl -oss -pcmcia -pda -ppds -pnp -quicktime |
55 |
> -scanner -sdl -slp -speex -sse -theora -trusted -usb -videos -voodoo3 |
56 |
> -wavelan X -xinerama -xmms -xv x86 -3dnow mmx -sse" |
57 |
> PORTAGE_NICENESS="1" |
58 |
> ------------------------ |
59 |
> |
60 |
> Pourquoi emerge ne prends pas en compte mon make.conf ? |
61 |
> |
62 |
> |
63 |
> -- |
64 |
> gentoo-user-fr@g.o mailing list |
65 |
|
66 |
-- |
67 |
gentoo-user-fr@g.o mailing list |