From: Lasse Collin Date: Mon, 24 Jun 2024 12:24:52 +0000 (+0300) Subject: CI: Use CC="gcc -m32" to get i386 compiler on x86-64 X-Git-Tag: v5.7.1alpha~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcdabf68fee9ed694b68c3a82e6adbeff20b679;p=thirdparty%2Fxz.git CI: Use CC="gcc -m32" to get i386 compiler on x86-64 The old method put it in CFLAGS which is a wrong place because config.guess doesn't read CFLAGS. --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b673b88b..253d7889 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,11 +70,11 @@ jobs: # done first. - name: Build 32-bit if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }} - run: ./build-aux/ci_build.bash -b autotools -p build -f "-m32" + run: ./build-aux/ci_build.bash -b autotools -p build -m "gcc -m32" - name: Test 32-bit if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }} run: | - ./build-aux/ci_build.bash -b autotools -p test -f "-m32" -n 32_bit + ./build-aux/ci_build.bash -b autotools -p test -m "gcc -m32" -n 32_bit cd ../xz_build && make distclean # The sandbox must be disabled because it will prevent access to