Skip to content

Commit

Permalink
Disable LTO for the Linux SDL1 test build
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Aug 11, 2023
1 parent 999f44c commit 69efd70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Linux_x86_64_SDL1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCPACK=ON -DUSE_SDL1=ON -DDISCORD_INTEGRATION=ON
# Disable LTO to work around an ICE in gcc11
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCPACK=ON -DUSE_SDL1=ON -DDISCORD_INTEGRATION=ON -DDISABLE_LTO=ON

- name: Build
working-directory: ${{github.workspace}}
Expand Down

0 comments on commit 69efd70

Please sign in to comment.