FS#7300 - Makepkg should use -mtune=generic for gcc 4.2.0
Attached to Project:
Arch Linux
Opened by Jan de Groot (JGC) - Monday, 28 May 2007, 21:58 GMT
Last edited by Jan de Groot (JGC) - Monday, 04 June 2007, 20:18 GMT
Opened by Jan de Groot (JGC) - Monday, 28 May 2007, 21:58 GMT
Last edited by Jan de Groot (JGC) - Monday, 04 June 2007, 20:18 GMT
|
Details
gcc 4.2.0 needs -mtune=generic to make sure optimizations in
produced binaries are for generic i686 architecture. Without
it, gcc makes assumptions based on the build machine, which
could be very bad for i686 generic package building.
An other option would be to force this flag by default in gcc 4.2.0 |
This task depends upon
It's easy either way, I'm just curious.
I guess we should put out a new release of pacman, either a new one or a patched PKGBUILD would be recommended.