mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Generate position-independent code for amd64 builds for Linux
This is standard on some distributions, a good practice to play along with ASLR and changes a bit what compiler knows about possible null values, for which it complained in Launchpad builds in the past.
This commit is contained in:
committed by
GitHub
parent
c0a1370df9
commit
66a9c9afc6
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -132,7 +132,7 @@ jobs:
|
||||
run: . scripts/setenv && get-discord-rpc
|
||||
- name: Build OpenRCT2
|
||||
shell: bash
|
||||
run: . scripts/setenv -q && build -DWITH_TESTS=on -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=ON -DPORTABLE=ON -DCMAKE_CXX_FLAGS="-g -gz"
|
||||
run: . scripts/setenv -q && build -DWITH_TESTS=on -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=ON -DPORTABLE=ON -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz"
|
||||
- name: Build artifacts
|
||||
shell: bash
|
||||
run: . scripts/setenv -q && build-portable artifacts/OpenRCT2-Linux-x86_64.tar.gz bin/install/usr
|
||||
|
||||
Reference in New Issue
Block a user