Sign in
pigweed
/
third_party
/
github
/
project-chip
/
connectedhomeip
/
06644e3ceede9c3e5e9c45bd872c1d1782903ea2
/
.
/
scripts
/
helpers
/
ccache-prefix-cpp.sh
blob: 89e395cedd7203f5c08f35358862086e88dce095 [
file
] [
log
] [
blame
]
#!/bin/bash
# Add -P flag to get rid of #line directives which break caching
args
=()
for
arg
in
"$@"
;
do
args
+=(
"$arg"
)
[[
"$arg"
==
"-E"
]]
&&
args
+=(
"-P"
)
done
exec
"${args[@]}"