diff options
author | 2024-06-13 20:26:09 +0200 | |
---|---|---|
committer | 2024-06-16 15:46:47 +0200 | |
commit | 9b82332fb2a1068640c07c60f627fb6779f28a3b (patch) | |
tree | 2b1771bc5616d408568543f431600e12fb5e62b6 | |
parent | Reorder gnu<-glibc wording, under "LIBC" for "--help", to follow with usage o... (diff) | |
download | crossdev-9b82332fb2a1068640c07c60f627fb6779f28a3b.tar.gz crossdev-9b82332fb2a1068640c07c60f627fb6779f28a3b.tar.bz2 crossdev-9b82332fb2a1068640c07c60f627fb6779f28a3b.zip |
crossdev: Force static-libs for -gnu targets
Without `static-libs`, the configure check for `-static` would fail and
it leads to a cascade failure in finding `-lpthread` in stage2 gcc.
Closes: https://github.com/gentoo/crossdev/pull/21
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rwxr-xr-x | crossdev | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -354,6 +354,9 @@ parse_target() { ;; *-gnu*) LPKG="glibc" + # gcc would not find -lpthread without static libraries while building + # its copy of libgomp. + LUSE+=" static-libs" ;; *-klibc) LPKG="klibc" |