FS#66016 - Extendable makepkg.conf

Attached to Project: Pacman
Opened by Morten Linderud (Foxboron) - Sunday, 29 March 2020, 12:45 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 December 2022, 10:43 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Extendable makepkg.conf is to ensure we are not adding all the environment variables needed for different compilers into the pacman source tree. There are currently support for the standard C compiler flags, along with the rust compiler. However adding more is going to be a tedious task, so we need to make this extendable.

After a brief discussion on IRC there are two ideas.


1. Support `@sysconfdir@/makepkg.d` and source `makepkg.d/*.conf`.

2. Implement a `export_build_flags()` function where we can extend the buildflags array with libmakepkg dropins.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 04 December 2022, 10:43 GMT
Reason for closing:  None
Additional comments about closing:  Moved to gitlab:
https://gitlab.archlinux.org/pacman/pacm an/-/issues/3

Loading...