Skip to content

Commit f6380e3

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

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/make.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,23 @@ jobs:
5858
if: runner.os == 'Linux'
5959
shell: bash
6060
run: |
61-
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --prefix="$GITHUB_WORKSPACE/binutils-install"
62-
make -j4 && make install -j4
61+
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --disable-nls --prefix="$GITHUB_WORKSPACE/binutils-install"
62+
make -j4 && make install-strip -j4
6363
6464
- name: "[macOS] Build binutils"
6565
if: runner.os == 'macOS'
6666
shell: bash
6767
run: |
68-
./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
68+
./configure --target=z80-none-elf --disable-gdb --disable-sim --disable-readline --disable-nls --with-system-zlib --prefix="$GITHUB_WORKSPACE/binutils-install"
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-nls --disable-shared --enable-static --prefix="$PREFIX"
77+
make configure-host && make -j4 LDFLAGS="-all-static" MAKEINFO=true && make install-strip -j4 MAKEINFO=true
7878
7979
- name: "[Unix] Tar install"
8080
if: runner.os != 'Windows'

0 commit comments

Comments
 (0)