Commit graph

7 commits

Author SHA1 Message Date
loqs
28be625a3e
Drop debugflags.sh.in 2024-01-19 12:53:21 +00:00
loqs
34e8c3b26e
Split out CXXFLAGS and DEBUG_CXXFLAGS 2024-01-19 12:52:54 +00:00
loqs
735d1b0073
Split out CFLAGS and DEBUG_CFLAGS 2024-01-19 12:52:49 +00:00
loqs
1e1c73e283
Split out CPPFLAGS 2024-01-19 12:48:50 +00:00
Allan McRae
09e82f01ea libmakepkg: move rust buildenv handling to separate file
This serves as a demonstration for how other languages could drop
in support into libmakepkg.

Signed-off-by: Allan McRae <allan@archlinux.org>
2023-01-13 11:35:35 +10:00
Allan McRae
4a0891f49d Add link time optimization support to makepkg
Add the 'lto' option to enable building with link time optimization
by adding '-flto' to both CFLAGS and CXXFLAGS.  The 'lto' option can
be specificed both in the PKGBUILD or by setting the default in
makepkg.conf.

Signed-off-by: Allan McRae <allan@archlinux.org>
2021-03-03 14:35:45 +10:00
Que Quotion
508b4e3ec0 Split prepare_buildenv() to libmakepkg
This opens the door for third parties to provide libmakepkg
extentions for the purpose of altering the build environment.

Signed-off-by: Que Quotion <quequotion@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-11-27 22:48:43 +10:00