diff options
Diffstat (limited to 'mdk-stage1/dietlibc/threadsafe.sh')
-rwxr-xr-x | mdk-stage1/dietlibc/threadsafe.sh | 5 |
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 |