Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
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
|
DetailsThey 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."