Files
depot/contrib/depot.d/build.toml
T

27 lines
636 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"]
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"]