Skip to content

Commit f018955

Browse files
committed
Fix cross build env variables
1 parent 1ec11b3 commit f018955

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ jobs:
172172
- name: Build Cross
173173
run: |
174174
mkdir build && cd build
175-
CC=${{ matrix.CPREF }}-linux-gnu-gcc-12 CXX=${{ matrix.CPREF }}-linux-gnu-g++-12 \
176-
LIBGOMP=/usr/lib/gcc-cross/${CPREF}-linux-gnu/12;
175+
export CC=${{ matrix.CPREF }}-linux-gnu-gcc-12
176+
export CXX=${{ matrix.CPREF }}-linux-gnu-g++-12
177+
export LIBGOMP=/usr/lib/gcc-cross/${{ matrix.CPREF }}-linux-gnu/12
177178
/opt/cmake-3.31.0/bin/cmake \
178179
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_TESTS=1 \
179180
-DFORCE_STATIC_DEPS=1 \

0 commit comments

Comments
 (0)