musl: Make only shared libraries conditional
PATCH 1/1 musl: Make only shared libraries conditional
From: Charles Duffy <[email protected]>
External toolchain use requires a static libc (as buildroot uses gcc --print-file-name libc.a to find the sysroot); thus, the static portion of a musl build should not be conditional.
Signed-off-by Charles Duffy <[email protected]>
--- package/musl/musl.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/musl/musl.mk +2 -1
@@ -29,7 +29,8 @@ define MUSL_CONFIGURE_CMDS --prefix=/usr \ --libdir=/lib \ --disable-gcc-wrapper \ - $(SHARED_STATIC_LIBS_OPTS)) + --enable-static \ + $(if $(BR2_STATIC_LIBS),--disable-shared,--enable-shared)) endef define MUSL_BUILD_CMDS
Signature · 1 line
2.0.0
Thomas Petazzoni
AppliedPATCH 1/1 musl: Make only shared libraries conditional
Dear Charles Duffy,
Quoted 10 lines · Charles Duffy
From: Charles Duffy <[email protected]>
External toolchain use requires a static libc (as buildroot uses
gcc --print-file-name libc.ato find the sysroot); thus, the static portion of a musl build should not be conditional.Signed-off-by Charles Duffy <[email protected]>--- package/musl/musl.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com