From df4408553425bcc60fd6996122445dfe3c38420e Mon Sep 17 00:00:00 2001 From: brameret <37584602+brameret@users.noreply.github.com> Date: Thu, 9 May 2019 19:32:07 +0200 Subject: [PATCH] [s2opc] Fix cmake not using clang++ as linker (#2392) --- projects/s2opc/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/s2opc/build.sh b/projects/s2opc/build.sh index c1b5f8d29..61d3be218 100755 --- a/projects/s2opc/build.sh +++ b/projects/s2opc/build.sh @@ -38,7 +38,8 @@ make -j$(nproc) install mkdir -p $S2OPC_BUILD cd $S2OPC_BUILD cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_LINKER="$CXX" -DCMAKE_EXE_LINKER_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_COMPILER="$CC" -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_EXE_LINKER_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_LINK_EXECUTABLE="$CXX -o " \ -DWITH_OSS_FUZZ=ON \ $SRC/S2OPC cmake --build . --target fuzzers