diff --git a/.github/workflows/toolchains/toolchain_arm64.cmake b/.github/workflows/toolchains/toolchain_arm64.cmake index 17e99a2..c0a1d48 100644 --- a/.github/workflows/toolchains/toolchain_arm64.cmake +++ b/.github/workflows/toolchains/toolchain_arm64.cmake @@ -37,7 +37,7 @@ set(CMAKE_PROGRAM_PATH /usr/bin/aarch64-linux-gnu) set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") -set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++") +set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -std=c++14") # Use our definitions for compiler tools diff --git a/.github/workflows/toolchains/toolchain_armhf.cmake b/.github/workflows/toolchains/toolchain_armhf.cmake index 59e4e25..11b8871 100644 --- a/.github/workflows/toolchains/toolchain_armhf.cmake +++ b/.github/workflows/toolchains/toolchain_armhf.cmake @@ -37,7 +37,7 @@ set(CMAKE_PROGRAM_PATH /usr/bin/arm-linux-gnueabihf) set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") -set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++") +set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -std=c++14") # Use our definitions for compiler tools diff --git a/.github/workflows/toolchains/toolchain_i386.cmake b/.github/workflows/toolchains/toolchain_i386.cmake index c6d1337..5e2c06e 100644 --- a/.github/workflows/toolchains/toolchain_i386.cmake +++ b/.github/workflows/toolchains/toolchain_i386.cmake @@ -37,7 +37,7 @@ set(CMAKE_PROGRAM_PATH /usr/bin/i386-linux-gnu) set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") -set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++") +set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -std=c++14") # Use our definitions for compiler tools diff --git a/.github/workflows/toolchains/toolchain_ppc64le.cmake b/.github/workflows/toolchains/toolchain_ppc64le.cmake index 765d5a0..f3ea2f8 100644 --- a/.github/workflows/toolchains/toolchain_ppc64le.cmake +++ b/.github/workflows/toolchains/toolchain_ppc64le.cmake @@ -37,7 +37,7 @@ set(CMAKE_PROGRAM_PATH /usr/bin/powerpc64le-linux-gnu) set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") -set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++") +set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -std=c++14") # Use our definitions for compiler tools diff --git a/.github/workflows/toolchains/toolchain_riscv64.cmake b/.github/workflows/toolchains/toolchain_riscv64.cmake index b7c1f30..8ae3690 100644 --- a/.github/workflows/toolchains/toolchain_riscv64.cmake +++ b/.github/workflows/toolchains/toolchain_riscv64.cmake @@ -37,7 +37,7 @@ set(CMAKE_PROGRAM_PATH /usr/bin/riscv64-linux-gnu) set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind") -set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++") +set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -std=c++14") # Use our definitions for compiler tools