Files
BeamMP-Server/scripts/debian/2-configure.sh
2023-12-05 13:52:35 +01:00

6 lines
302 B
Bash
Executable File

#!/bin/bash
set -ex
cmake . -B bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -s -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,--build-id=none -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON || cat "$SOURCE"/server/bin/vcpkg-bootstrap.log