mirror of https://github.com/xzeldon/htop.git
ci: use as-needed linker flag in gcc full-featured build
Test whether there are any linking issues
This commit is contained in:
parent
3035e29e74
commit
d77703b3dc
|
@ -55,7 +55,7 @@ jobs:
|
||||||
# Enable LTO, might trigger additional warnings on advanced inlining
|
# Enable LTO, might trigger additional warnings on advanced inlining
|
||||||
env:
|
env:
|
||||||
CFLAGS: -O3 -g -flto
|
CFLAGS: -O3 -g -flto
|
||||||
LDFLAGS: -O3 -g -flto
|
LDFLAGS: -O3 -g -flto -Wl,--as-needed
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|
Loading…
Reference in New Issue