diff options
| author | Bruce Momjian | 2004-02-11 21:44:06 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2004-02-11 21:44:06 +0000 |
| commit | c6f05593710757351535cc80a3872152d91e5cef (patch) | |
| tree | b6381cb0ff9a63a2f38eda1d139b60f3946c08b6 /src/template/linux | |
| parent | 15b330b648553627230a11adce304103a55e0b62 (diff) | |
Check and set thread-safe functions separately, rather than as a single
variable.
Remove thread locking for non-thread-safe functions, instead throw a
compile error.
Platforms will have to re-run tools/thread to record their thread
safety.
Diffstat (limited to 'src/template/linux')
| -rw-r--r-- | src/template/linux | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/template/linux b/src/template/linux index 529da9c169..7469b33107 100644 --- a/src/template/linux +++ b/src/template/linux @@ -1,7 +1,6 @@ # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise CPPFLAGS="-D_GNU_SOURCE" -THREAD_SUPPORT=yes -NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27 +# tools/thread/thread_test must be run THREAD_CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" |
