Browse Source

dietlibc: introduced USE_DIETLIBC flag for packages that need to be built against dietlibc

user/karasz/next/postgresql
Alejandro Mery 14 years ago
parent
commit
ecfb1eb8f0
  1. 4
      base/dietlibc/parse-config-9

4
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}"

Loading…
Cancel
Save