summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-27 14:32:03 +0100
committercgzones <cgzones@googlemail.com>2021-01-27 15:36:50 +0100
commitd77703b3dcccfd086e60f40c23df9a2647840681 (patch)
tree1a81233795ada85476b061ac25b35c4f367b0733 /.github
parent3035e29e7475379c075614109ae717649a0eb2d6 (diff)
ci: use as-needed linker flag in gcc full-featured build
Test whether there are any linking issues
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a1c95ee6..00304890 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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

© 2014-2024 Faster IT GmbH | imprint | privacy policy