ci: use as-needed linker flag in gcc full-featured build

Test whether there are any linking issues
This commit is contained in:
Christian Göttsche 2021-01-27 14:32:03 +01:00 committed by cgzones
parent 3035e29e74
commit d77703b3dc
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ jobs:
# Enable LTO, might trigger additional warnings on advanced inlining
env:
CFLAGS: -O3 -g -flto
LDFLAGS: -O3 -g -flto
LDFLAGS: -O3 -g -flto -Wl,--as-needed
steps:
- uses: actions/checkout@v2
- name: Install Dependencies