diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2c6e8d86721f..f7d776181ec3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -113,7 +113,7 @@ jobs: - name: Build working-directory: build run: | - make -j3 + make -j3 VERBOSE=1 - name: Run unit tests working-directory: build diff --git a/CMakeLists.txt b/CMakeLists.txt index f29747b5b9a0..79d9cdcbff5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,11 @@ set(OE_USE_LD_MOLD ON CACHE BOOL "Use mold linker if available.") set(OE_USE_LD_LLD ON CACHE BOOL "Use lld linker if available, note that mold takes precedence.") set(OE_USE_LD_GOLD ON CACHE BOOL "Use GNU gold linker if available, note that lld takes precedence.") +# Adjust options - we're building x86 ffmpeg statically with --enable-asm, and lld chokes on it. +if (OE_USE_PREBUILT_DEPENDENCIES AND BUILD_PLATFORM STREQUAL "linux" AND BUILD_ARCH STREQUAL "x86") + set(OE_USE_LD_LLD OFF) +endif() + # Find ccache / sccache. if(OE_USE_CCACHE) find_program(CCACHE_FOUND ccache)