Skip to content

Commit fd40f35

Browse files
committed
Build with LTO
Signed-off-by: falkTX <falktx@falktx.com>
1 parent cebfce1 commit fd40f35

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
LDFLAGS: -static-libgcc -static-libstdc++
4040
run: |
4141
make features
42-
make -j $(nproc)
42+
make WITH_LTO=true -j $(nproc)
4343
- name: Set sha8
4444
id: slug
4545
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
@@ -76,7 +76,7 @@ jobs:
7676
LDFLAGS: -static-libgcc -static-libstdc++
7777
run: |
7878
make features
79-
make -j $(nproc)
79+
make WITH_LTO=true -j $(nproc)
8080
- name: Set sha8
8181
id: slug
8282
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
@@ -110,7 +110,7 @@ jobs:
110110
PKG_CONFIG_PATH: /usr/lib/i386-linux-gnu/pkgconfig
111111
run: |
112112
make features
113-
make -j $(nproc)
113+
make WITH_LTO=true -j $(nproc)
114114
- name: Set sha8
115115
id: slug
116116
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
@@ -135,7 +135,7 @@ jobs:
135135
LDFLAGS: -static-libgcc -static-libstdc++
136136
run: |
137137
make features
138-
make -j $(nproc)
138+
make WITH_LTO=true -j $(nproc)
139139
- name: Set sha8
140140
id: slug
141141
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
@@ -162,7 +162,7 @@ jobs:
162162
LDFLAGS: -arch x86_64 -arch arm64 -mmacosx-version-min=10.12
163163
run: |
164164
make features
165-
make NOOPT=true -j $(sysctl -n hw.logicalcpu)
165+
make NOOPT=true WITH_LTO=true -j $(sysctl -n hw.logicalcpu)
166166
./dpf/utils/package-osx-bundles.sh
167167
- name: Set sha8
168168
id: slug
@@ -204,7 +204,7 @@ jobs:
204204
WINEDEBUG: "-all"
205205
run: |
206206
make features
207-
make -j $(nproc)
207+
make WITH_LTO=true -j $(nproc)
208208
- name: Set sha8
209209
id: slug
210210
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
@@ -235,7 +235,7 @@ jobs:
235235
WINEDEBUG: "-all"
236236
run: |
237237
make features
238-
make -j $(nproc)
238+
make WITH_LTO=true -j $(nproc)
239239
- name: Set sha8
240240
id: slug
241241
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"

0 commit comments

Comments
 (0)