* FIX [workflow] fix cross compile msquic;
@@ -88,7 +88,8 @@ jobs:
fi
if [ "${{ matrix.build_type }}" = "-msquic" ]; then
make_flags+=" -DNNG_ENABLE_QUIC=ON"
- if [ "$arch" != "x86_64" ]; then
+ if [ "$arch" != "x86_64" ] && [ "$arch" != "amd64" ]; then
+ make_flags+=" -DONEBRANCH=1 "
if [ "$arch" == "arm64" ]; then
make_flags+=" -DCMAKE_TARGET_ARCHITECTURE=arm64 "
make_flags+=" -DGNU_MACHINE=aarch64-linux-gnu "
@@ -98,7 +99,6 @@ jobs:
make_flags+=" toolchains $PWD/nng/extern/msquic/cmake/toolchains/arm-linux.cmake "
make_flags+=" -DGNU_MACHINE=arm-linux-gnueabihf "
fi
- make_flags+=" -DONEBRANCH=1 "
fi
fi
