You are not logged in.
Hi,
I've been trying to figure out how to determine which compiler options were used for precompiled packages from the arch package repositories.
Things I've been trying to determine:
- What are the default options used when compiling packages that are distributed from the regular core/extra/etc. repos? I've gotten the impression that they aren't compiled with the default /etc/makepkg.conf flags, however I'm not sure where to find the official environment CFLAGS/CXXFLAGS/etc. used.
- Are different packages compiled with different options, outside of what is specified in their packages individual PKGBUILD file? Does it depend on who compiled the package?
- Is there a record kept anywhere of the build log from when official core/extra/etc.? I've found some links online in forum threads etc., but they are all dead links. This seems like an important record to keep.
Any other related information would also be appreciated
Offline
They are essentially from the default makepkg.conf. You can see the actual makepkg.conf used by installing devtools and looking at /usr/share/devtools/makepkg.conf.d/x86_64.conf
Offline
Inside the binary tarballof all repo & aur packages you'll find .BUILDINFO file that details the used options and some other things.
Edit: compiler flags are not in it, although some of the options do influence the resulting binary.
Last edited by Lone_Wolf (2024-08-10 17:40:34)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You can also check the PKGBUILD used for the package (e.g., through the website at the "packages" link in the header of this page) as a PKGBUILD can over-ride settings from the default makepkg.conf (either via variables like "options", or directly hard-coding flags in the actual build commands).
Last edited by Trilby (2024-08-10 17:49:34)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline