View previous topic :: View next topic |
Author |
Message |
konstk Tux's lil' helper
Joined: 13 Aug 2002 Posts: 75
|
Posted: Tue Sep 17, 2002 11:08 pm Post subject: Packages that do not get optimized |
|
|
I have noticed that our CFLAGS do not get thorugh to all packages.
I've had to edit the ebuilds by hand.
Here are some of them:
some parts of KDE
qt
the kernel
XFree86
and a few others which I've forgotten.
Does anyoen knwo of any others? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Sep 17, 2002 11:24 pm Post subject: |
|
|
You're on your own here - ebuilds that disable certain CFLAGS do so for good reason: often because people have reported bugs with certain compiler flags set. I know this is true for parts of xfree with -march=pentium4, so the ebuild drops it to -march=pentium3. I don't use KDE, so I can't comment on KDE or qt. The kernel compilation process is completely separate from the Portage compilation, so CFLAGS don't apply at all. I personally think it's dangerous to change kernel compilation flags, but if you really want to do it, you can see this post for a way to change compiler flags for kernel compilation without editing any files. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
konstk Tux's lil' helper
Joined: 13 Aug 2002 Posts: 75
|
Posted: Wed Sep 18, 2002 12:09 am Post subject: |
|
|
rac wrote: | You're on your own here - ebuilds that disable certain CFLAGS do so for good reason: often because people have reported bugs with certain compiler flags set. I know this is true for parts of xfree with -march=pentium4, so the ebuild drops it to -march=pentium3. I don't use KDE, so I can't comment on KDE or qt. The kernel compilation process is completely separate from the Portage compilation, so CFLAGS don't apply at all. I personally think it's dangerous to change kernel compilation flags, but if you really want to do it, you can see this post for a way to change compiler flags for kernel compilation without editing any files. |
i've already changed the flags for all the packages that didn't get optimized. no problems so far with anything. |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Wed Sep 18, 2002 5:18 am Post subject: |
|
|
ok, well your lucky then.
winex wouldnt build for me with optimising flags (i edited the ebuild).
It's alot easier for the devs to turn the problem makers off and have the ellite few hack the ebuilds than be flooded by bug reports. |
|
Back to top |
|
|
|