mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 00:01:20 -04:00
19 lines
361 B
Bash
Executable File
19 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export TDE_MODE=1
|
|
|
|
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
INSTALL_DIR="$SCRIPT_DIR/../../pginst"
|
|
|
|
|
|
cd "$SCRIPT_DIR/../"
|
|
|
|
if [ "$1" = "debugoptimized" ]; then
|
|
export CFLAGS="-O2"
|
|
export CXXFLAGS="-O2"
|
|
fi
|
|
|
|
./configure --enable-debug --enable-cassert --enable-tap-tests --prefix=$INSTALL_DIR
|
|
make install-world -j
|
|
|