From ecfb1eb8f04295606099dc34a19cbfb10a986202 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 30 Sep 2010 10:28:43 +0200 Subject: [PATCH] dietlibc: introduced USE_DIETLIBC flag for packages that need to be built against dietlibc --- base/dietlibc/parse-config-9 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/dietlibc/parse-config-9 b/base/dietlibc/parse-config-9 index a38b1ff93..f266e0435 100644 --- a/base/dietlibc/parse-config-9 +++ b/base/dietlibc/parse-config-9 @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../dietlibc/parse-config-9 -# Copyright (C) 2006 - 2008 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -43,6 +43,8 @@ function remove_lib () { # decide wether to compile the packet with dietlibc or not if [ "$SDECFG_LIBC" = "dietlibc" -o "$pkg" = "dietlibc" ]; then pkg_dietlibc_useit=1 +elif hasflag USE_DIETLIBC; then + pkg_dietlibc_useit=1 else x="${pkg//-/_}" ; x="${x//+/_}" eval "pkg_dietlibc_useit=\$SDECFG_DIETLIBC_${x}"