From 27a7bc5d6dc8c65c08343011a24ea610179ab775 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 11 Aug 2014 21:14:53 +0200 Subject: [PATCH] musl: disable glibc and uclibc when building a musl based system --- base/musl/subconfig-libc-300.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 base/musl/subconfig-libc-300.in diff --git a/base/musl/subconfig-libc-300.in b/base/musl/subconfig-libc-300.in new file mode 100644 index 000000000..2d144204c --- /dev/null +++ b/base/musl/subconfig-libc-300.in @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../musl/subconfig-libc-300.in +# Copyright (C) 2014 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +if [ "$SDECFG_LIBC" = "musl" ]; then + pkgremove glibc + pkgremove uclibc +fi