mirror of https://github.com/google/oss-fuzz.git
[s2opc] Fix cmake not using clang++ as linker (#2392)
This commit is contained in:
parent
807096efc9
commit
df44085534
|
@ -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 <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>" \
|
||||
-DWITH_OSS_FUZZ=ON \
|
||||
$SRC/S2OPC
|
||||
cmake --build . --target fuzzers
|
||||
|
|
Loading…
Reference in New Issue