FS#3036 - Wrong CFLAGS in makepkg.conf
Attached to Project:
Pacman
Opened by Christer Solskogen (solskogen) - Wednesday, 03 August 2005, 19:01 GMT
Opened by Christer Solskogen (solskogen) - Wednesday, 03 August 2005, 19:01 GMT
|
Details
They should say:
export CFLAGS="-march=i686 -O2 -pipe" export CXXFLAGS="-march=i686 -O2 -pipe" export LDFLAGS="-Wl,-O1" Oh, btw. There are some commented out lines saying: #export CFLAGS="-mcpu=i686 -O2 -pipe" #export CXXFLAGS="-mcpu=i686 -O2 -pipe" -mcpu is not supported anymore. If I`m not wrong they should be deleted. |
This task depends upon
Currently (in pacman CVS), I've removed the -Wl,O1 flag completely, as it breaks a couple builds.
Also, I can't find a record of -mcpu being deprecated. It is still present in the manpage for gcc 4.0.1. Do you have any more info on this?
http://bbs.archlinux.org/viewtopic.php?t=14164&highlight=ldflags
I`m not a gcc guru, i just did what the guy told ;-)
I`m using gcc 3.4.3, and if I compile something with -mcpu gcc tells me:
"`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead."