Skip to content

Commit 77ad43f

Browse files
[ci] disable shared libraries for windows
1 parent f3ed18f commit 77ad43f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/make.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,23 @@ jobs:
5959
shell: bash
6060
run: |
6161
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --prefix="$GITHUB_WORKSPACE/binutils-install"
62-
make -j4 && make install -j4
62+
make -j4 && make install-strip -j4
6363
6464
- name: "[macOS] Build binutils"
6565
if: runner.os == 'macOS'
6666
shell: bash
6767
run: |
6868
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --with-system-zlib --prefix="$GITHUB_WORKSPACE/binutils-install"
69-
make -j4 && make install -j4
69+
make -j4 && make install-strip -j4
7070
7171
- name: "[Windows] Build binutils"
7272
if: runner.os == 'Windows'
7373
shell: msys2 {0}
7474
run: |
7575
PREFIX=$(cygpath -m "$GITHUB_WORKSPACE/binutils-install")
76-
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --prefix="$PREFIX"
77-
make -j4 MAKEINFO=true && make install -j4 MAKEINFO=true
76+
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --disable-shared --enable-static --disable-tls --disable-nls --prefix="$PREFIX"
77+
make LDFLAGS="-all-static" MAKEINFO=true -j6
78+
make install-strip -j6
7879
7980
- name: "[Unix] Tar install"
8081
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)