diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f0a164da6b..1a8c806e7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: # Additionally `-w` to suppress resulting linker warnings. extra_cmake_flags: >- -DBUILD_LTO_LIBS=ON - -DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol '-L__*' -L-w" + -DD_COMPILER_FLAGS="-gcc=/usr/bin/c++ -O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol -L-Wl,-ld_classic '-L__*' -L-w" -DEXTRA_CXXFLAGS=-flto=full with_pgo: false