| commit | 5b38443b6ef6337db8d4ed12d7d2dc59c0a079da | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:17:30 2023 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Dec 23 13:11:29 2024 +0000 |
| tree | b0a97ea2c180aec385b71bbf8c8cd4185d927943 | |
| parent | 3c6183f7f12ded0c563239c7eff1f1dc4a9bebec [diff] |
third_party/musl: build PIE/PIC static library This allows us to then build static-pie binaries. Change-Id: Ied5c34da85608df0c1b56aec321b9eec367a9615 Reviewed-on: https://review.monogon.dev/c/monogon/+/1837 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
diff --git a/build/toolchain/musl-host-gcc/sysroot.tar.xz b/build/toolchain/musl-host-gcc/sysroot.tar.xz index 5b49be8..5fd3f55 100644 --- a/build/toolchain/musl-host-gcc/sysroot.tar.xz +++ b/build/toolchain/musl-host-gcc/sysroot.tar.xz Binary files differ
diff --git a/third_party/musl/BUILD.bazel b/third_party/musl/BUILD.bazel index 1ce390c..e02833c 100644 --- a/third_party/musl/BUILD.bazel +++ b/third_party/musl/BUILD.bazel
@@ -27,6 +27,7 @@ cmd = """ OUT=$$PWD/$(RULEDIR) ( + export CFLAGS="-static-pie -fPIC" cd {path} ./configure --prefix=$$OUT --syslibdir=$$OUT --libdir=$$OUT make -j $$(nproc) install-libs