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#21750 - [makepkg] Add the possibility to set the compiler.
Attached to Project:
Pacman
Opened by Simon (Giggi) - Friday, 19 November 2010, 21:03 GMT
Last edited by Allan McRae (Allan) - Monday, 13 December 2010, 02:12 GMT
Opened by Simon (Giggi) - Friday, 19 November 2010, 21:03 GMT
Last edited by Allan McRae (Allan) - Monday, 13 December 2010, 02:12 GMT
|
DetailsI'm interested to the possibility to set the compiler in the
pkgbuild config file. I desire to compile some package with icc (intel compiler) but in the file /etc/makepkg.conf don't exists the possibility to set a compiler different form gcc. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 13 December 2010, 02:12 GMT
Reason for closing: Won't implement
Additional comments about closing: Use environmental variables
Monday, 13 December 2010, 02:12 GMT
Reason for closing: Won't implement
Additional comments about closing: Use environmental variables
But it doesn't work if we try to compile with srcpac or yaourt.
I also don't think that is so difficult to add the variables CC and CXX in the makepkg.conf.
> export CC=gcc-4.6
> makepkg
...
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.6 accepts -g... yes
...
export CC=icc
srcpac -Sb xyz
don't work.
It's not strictly necessary but is another useful option.