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:
2
configure
vendored
2
configure
vendored
@ -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;}
|
||||
|
Reference in New Issue
Block a user