diff options
Diffstat (limited to '.github/workflows/compilers.yml')
-rw-r--r-- | .github/workflows/compilers.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 2819a049bb..0be749b36b 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -186,11 +186,9 @@ jobs: - run: ./autogen.sh working-directory: src - name: Run configure - run: ../src/configure -C ${default_configure} ${append_configure} --with-gcc="${default_cc} ${append_cc}" - if: ${{ matrix.entry.key != 'crosshost' }} - - name: Run cross configure - run: ../src/configure -C ${default_configure} ${append_configure} --host="${crosshost}" - if: ${{ matrix.entry.key == 'crosshost' }} + run: > + ../src/configure -C ${default_configure} ${append_configure} + ${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }} - run: $make extract-extlibs - run: $make incs - run: $make |