1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

If we're gonna provide an --enable-profiling configure option, surely

it ought to know that you need -DLINUX_PROFILE on Linux.
This commit is contained in:
Tom Lane
2007-09-21 02:33:46 +00:00
parent 02185a0716
commit 017daed0dd
4 changed files with 10 additions and 6 deletions

View File

@@ -1,4 +1,7 @@
# $PostgreSQL: pgsql/src/template/linux,v 1.29 2006/12/12 19:43:19 petere Exp $
# $PostgreSQL: pgsql/src/template/linux,v 1.30 2007/09/21 02:33:46 tgl Exp $
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
# If --enable-profiling is specified, we need -DLINUX_PROFILE
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"