summaryrefslogtreecommitdiff
path: root/src/template/linux
blob: faefe64254a904049c430bb11a5b401e8d62a414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
# This is also required for ppoll(2), and perhaps other things
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"

# Extra CFLAGS for code that will go into a shared library
CFLAGS_SL="-fPIC"

# If --enable-profiling is specified, we need -DLINUX_PROFILE
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"