Commit 1393b816 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

wrappers: fix guard in clang-hash-stop

parent 3bf1ff14
Pipeline #2990 passed with stage
in 0 seconds
......@@ -3,7 +3,7 @@
# Wrapper for clang, that supports (only) fast hash-based
# recompilation.
if [[ ( "$@" =~ ".* -c .*") && ( "$@" =~ ".* -o. *" ) && ! ( "$@" =~ ".*/dev/null" ) ]]; then
if [[ ( "$@" =~ .*" -c".* ) && ( "$@" =~ .*" -o".* ) && ! ( "$@" =~ .*"/dev/null".* ) ]]; then
exec ${LLVM_C_COMPILER} -fplugin=${PROJECT_BINARY_DIR}/src/libclang-hash.so \
-Xclang -plugin-arg-clang-hash -Xclang -stop-if-same-hash \
"$@"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment