summaryrefslogtreecommitdiff
path: root/src/template/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/linux')
-rw-r--r--src/template/linux5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/template/linux b/src/template/linux
index 3eb5ad2428..f820bf7280 100644
--- a/src/template/linux
+++ b/src/template/linux
@@ -1,5 +1,10 @@
# src/template/linux
+# Prefer unnamed POSIX semaphores if available, unless user overrides choice
+if test x"$PREFERRED_SEMAPHORES" = x"" ; then
+ PREFERRED_SEMAPHORES=UNNAMED_POSIX
+fi
+
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"