[Buildroot] [git commit] musl: Make only shared libraries conditional
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Oct 19 21:04:48 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=84120c10f5ba6c8c4b8d32068616cbdb8a8a8102
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <chaduffy at cisco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/musl/musl.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/musl/musl.mk b/package/musl/musl.mk
index f0c45f5..2f43aab 100644
--- a/package/musl/musl.mk
+++ b/package/musl/musl.mk
@@ -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
More information about the buildroot
mailing list