1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +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

2
configure vendored
View File

@ -3244,7 +3244,7 @@ cat >>confdefs.h <<\_ACEOF
#define PROFILE_PID_DIR 1
_ACEOF
CFLAGS="$CFLAGS -pg"
CFLAGS="$CFLAGS -pg $PLATFORM_PROFILE_FLAGS"
else
{ { echo "$as_me:$LINENO: error: --enable-profiling is supported only when using GCC" >&5
echo "$as_me: error: --enable-profiling is supported only when using GCC" >&2;}