Force c++14

This commit is contained in:
Andrea Cavalli 2023-05-14 02:01:43 +02:00
parent 63d14d7170
commit 2f8185fb92
8 changed files with 24 additions and 0 deletions

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -13,6 +13,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -13,6 +13,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then

View File

@ -14,6 +14,9 @@ HOST_CMAKE_C_FLAGS="-fuse-ld=lld"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++"
HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
# Use c++11
export CMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} -std=c++14"
# ccache
CCACHE=$(which sccache || true)
if [[ -x "$CCACHE" ]]; then