Respect /etc/makepkg.conf.d folder
I'm not sure since when, but now makepkg can be configured with drop-in files @ /etc/makepkg.conf.d, but currently aura doesn't detect them
And do you have settings in that folder? What do they look like?
ls /etc/makepkg.conf.d/
fortran.conf rust.conf stereomato.conf
The first two are there by default, the 3rd I added. makepkg does respect all three
Would you mind sharing the contents?
#!/hint/bash
#
# /etc/makepkg.conf.d/fortran.conf
#
#########################################################################
# FORTRAN LANGUAGE SUPPORT
#########################################################################
# Flags used for the Fortran compiler, similar in spirit to CFLAGS. Read
# linkman:gfortran[1] for more details on the available flags.
#FFLAGS="-O2 -pipe"
#FCFLAGS="$FFLAGS"
# Additional compiler flags appended to `FFLAGS` and `FCFLAGS` for use in debugging. Usually
# this would include: ``-g''. Read linkman:gfortran[1] for more details on the wide
# variety of compiler flags available.
#DEBUG_FFLAGS="-g"
#!/hint/bash
# shellcheck disable=2034
#
# /etc/makepkg.conf.d/rust.conf
#
#########################################################################
# RUST LANGUAGE SUPPORT
#########################################################################
# Flags used for the Rust compiler, similar in spirit to CFLAGS. Read
# linkman:rustc[1] for more details on the available flags.
RUSTFLAGS="-Cforce-frame-pointers=yes"
# Additional compiler flags appended to `RUSTFLAGS` for use in debugging.
# Usually this would include: ``-C debuginfo=2''. Read linkman:rustc[1] for
# more details on the available flags.
DEBUG_RUSTFLAGS="-C debuginfo=2"
MAKEFLAGS="-j$(nproc)"
PACKAGER="Luis O. <[email protected]>"
Ah interesting, so this is a way to globally set various environment variables for a language, but the change is isolated to the usage of makepkg.
Also, by "Aura doesn't detect them", what did you mean specifically? Aura is calling makepkg, so it should "just work" in that sense.