Skip to content

Commit 9f65664

Browse files
Use LTO and warnings for unused variables only on the Makefile CI
1 parent fdcd1de commit 9f65664

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- '!**md'
3535

3636
env:
37-
CFLAGS: "-flto -Wall -pedantic-errors"
37+
CFLAGS: "-Wall -pedantic"
3838
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
3939

4040
defaults:
@@ -61,8 +61,8 @@ jobs:
6161
matrix:
6262
os: [ macos-latest, ubuntu-latest ]
6363
fflags: [
64-
"-flto -Wall -Wno-unused-dummy-argument -Wno-unused-variable -Wno-unused-label -Werror=conversion -fimplicit-none -frecursive -fcheck=all",
65-
"-flto -Wall -Wno-unused-dummy-argument -Wno-unused-variable -Wno-unused-label -Werror=conversion -fimplicit-none -frecursive -fcheck=all -fopenmp" ]
64+
"-Wall -Wno-unused-dummy-argument -Wno-unused-variable -Wno-unused-label -Werror=conversion -fimplicit-none -frecursive -fcheck=all",
65+
"-Wall -Wno-unused-dummy-argument -Wno-unused-variable -Wno-unused-label -Werror=conversion -fimplicit-none -frecursive -fcheck=all -fopenmp" ]
6666

6767
steps:
6868

0 commit comments

Comments
 (0)