summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/threadsafe.sh
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-02-18 16:48:04 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-02-18 16:48:04 +0000
commitc93f95560d3fde9eaefcc62c454c67b8b5626fa7 (patch)
tree28fc15161411de0c3693b3ac2551bb3dcef8c957 /mdk-stage1/dietlibc/threadsafe.sh
parent0e38e73d18120d339abc5f3b3faa8876d65de288 (diff)
downloaddrakx-backup-do-not-use-c93f95560d3fde9eaefcc62c454c67b8b5626fa7.tar
drakx-backup-do-not-use-c93f95560d3fde9eaefcc62c454c67b8b5626fa7.tar.gz
drakx-backup-do-not-use-c93f95560d3fde9eaefcc62c454c67b8b5626fa7.tar.bz2
drakx-backup-do-not-use-c93f95560d3fde9eaefcc62c454c67b8b5626fa7.tar.xz
drakx-backup-do-not-use-c93f95560d3fde9eaefcc62c454c67b8b5626fa7.zip
Merge in CVS dietlibc 0.21 for IA-64 and X86-64 support. However, drop the
following architectures we currently don't support: arm, mips, mipsel, parisc, s390, sparc64.
Diffstat (limited to 'mdk-stage1/dietlibc/threadsafe.sh')
-rwxr-xr-xmdk-stage1/dietlibc/threadsafe.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/threadsafe.sh b/mdk-stage1/dietlibc/threadsafe.sh
new file mode 100755
index 000000000..67f6f6338
--- /dev/null
+++ b/mdk-stage1/dietlibc/threadsafe.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+(gcc -E - << EOF | grep -q WANT_THREAD_SAFE) || echo libpthread/pthread_*.c
+#include "dietfeatures.h"
+WANT_THREAD_SAFE
+EOF