Avoid GNU linker LTO warnings in Github workflows

Stop linker emitting warnings such as

  lto-wrapper: warning: using serial compilation of n LTRANS jobs

Change-Id: Ic933ef7b45955eabfa5b06e88cd195077ff9fc86
This commit is contained in:
Sergiu Deitsch
2025-02-17 18:58:04 +01:00
parent 5121022789
commit cd8c1074b2
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ jobs:
- name: Setup Environment
if: ${{matrix.build_type == 'Release'}}
run: |
echo 'CFLAGS=-flto' >> ~/.bash_profile
echo 'CXXFLAGS=-flto' >> ~/.bash_profile
echo 'CFLAGS=-flto=auto' >> ~/.bash_profile
echo 'CXXFLAGS=-flto=auto' >> ~/.bash_profile
- name: Cache Build
id: cache-build