first
This commit is contained in:
+35
@@ -0,0 +1,35 @@
|
||||
container_runtime = "podman"
|
||||
container_image = "localhost/distro-builder:latest"
|
||||
container_dockerfile = "Dockerfile"
|
||||
|
||||
signing_key = "build/keys/distro.rsa"
|
||||
signing_pubkey = "build/keys/distro.rsa.pub"
|
||||
|
||||
target_arch = "x86_64"
|
||||
|
||||
host_cflags = "-O2 -pipe"
|
||||
host_cxxflags = ""
|
||||
host_ldflags = "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
|
||||
|
||||
target_cflags = host_cflags
|
||||
target_cxxflags = host_cxxflags
|
||||
target_ldflags = host_ldflags + " -Wl,-z,now"
|
||||
|
||||
if target_arch == "x86_64":
|
||||
flags = " -march=x86-64-v3 -mtune=generic -fstack-clash-protection -fstack-protector-strong -fcf-protection"
|
||||
target_cflags += flags
|
||||
target_cxxflags += flags
|
||||
target_ldflags += " -Wl,-z,pack-relative-relocs"
|
||||
|
||||
options = {
|
||||
"libc": "musl",
|
||||
"target_triple": "x86_64-linux-musl",
|
||||
"host_cflags": host_cflags,
|
||||
"host_cxxflags": host_cxxflags,
|
||||
"host_ldflags": host_ldflags,
|
||||
"cflags": target_cflags,
|
||||
"cxxflags": target_cxxflags,
|
||||
"ldflags": target_ldflags,
|
||||
"wayland": True,
|
||||
"x11": True,
|
||||
}
|
||||
Reference in New Issue
Block a user