[arch-general] [arch-dev-public] Changing compilation flags

LoneVVolf lonewolf at xs4all.nl
Sat Jul 8 10:53:34 UTC 2017

On 08-07-17 04:31, Evangelos Foutras via arch-general wrote:
> There are multiple ways the compiler can be selected; two of them are: 1)
> exporting CC/CXX in the PKGBUILD and 2) the project's configure script
> picking one of the available compilers. makepkg can't realistically know
> which compiler is going to be used and thus must have only one set of flags
> that is supported by both GCC and Clang.

An alternative solution would be to tailor things to the compiler used 
by the majority (gcc) and to avoid clang as much as possible.
That would ocourse require special settings for packages compiled with 

NOTE : whether that is a good idea is another matter, but it IS an option.

More information about the arch-general mailing list