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" libc = "musl" 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": libc, "target_triple": target_arch + "-linux-" + libc, "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, }