a774c61e5a
- Added an `interrupts` module to manage Ctrl-C signals and propagate them to child processes. - Refactored archive extraction functions to check for interrupts and handle them gracefully. - Introduced `copy_interruptibly` function to allow for interruptible copying of data. - Updated various source files to utilize the new interrupt handling functions, ensuring that commands and archive extractions can be interrupted by the user. - Added tests to verify the interrupt functionality during copying and tar extraction. - Introduced a new Meson option for generating HTML CLI documentation. - Enhanced the `PackageSpec` struct to support additional Rust LTO flags.
29 lines
754 B
TOML
29 lines
754 B
TOML
[flags]
|
|
# Default build flags applied to all packages via /etc/depot.d/build.toml
|
|
# Compiler selection
|
|
cc = "gcc"
|
|
|
|
# Default CFLAGS
|
|
cflags = ["-O2"]
|
|
cflags += ["-pipe"]
|
|
|
|
# Optional install directory overrides for supported builders
|
|
#bindir = "/usr/bin"
|
|
#libdir = "/usr/lib"
|
|
#sysconfdir = "/etc"
|
|
|
|
# Default LDFLAGS
|
|
ldflags = ["-Wl,-O1"]
|
|
|
|
# Default LTOFLAGS and automatic injection into CFLAGS/CXXFLAGS/LDFLAGS.
|
|
ltoflags = ["-flto=auto"]
|
|
# Rust-specific LTO flags appended only to RUSTFLAGS when use_lto is enabled.
|
|
#RUSTLTOFLAGS = ["-Clinker-plugin-lto"]
|
|
use_lto = true
|
|
|
|
# CARCH short name (can be overridden per-package)
|
|
carch = "x86_64"
|
|
|
|
# Example of appending per-package cflags: (will be exposed as build.cflags appends)
|
|
# cflags += ["-march=native"]
|