View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Thu May 23, 2002 4:47 pm Post subject: packages do not respect C(XX)FLAGS |
|
|
Some packages do not use the flags specified in /etc/make.conf
One very painful example is QT - We all rely on having it fully optimised, but unfortunately it is not the case with the Gentoo ebuild. QT uses qmake (I am not familiar how it works) and ignores anything the ebuild specifies. Can a patch be created to go around this problem?
Also. In GCC if one specifies -O2 -O3 it will accept the latter one. And usually the C(XX)FLAGS in make.conf go in the beginning, so the decision the user has made is just ignored. Usually a Makefile would set CXXFLAGS=$CXXFLAGS (something else), instead of CXXFLAGS=(something else) $CXXFLAGS, which should be the proper way.
Even -march=i686 -march=i486 will use the latter directive. Should there be a revision of all the ebuilds so proper configuration is added?
Many of you think all your packages are fully optimized, but that is certainly not true.
Thank you |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu May 23, 2002 5:01 pm Post subject: |
|
|
IMHO if ./configure --host=${CHOST} doesn't configure the Makefile properly, it's more likely a problem that the author needs to deal with and perhaps they should be informed that there might be an error in their configure script. I wonder how many packages this affects?? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|