summaryrefslogtreecommitdiffstats
path: root/scripts/wrapper/libwrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/wrapper/libwrapper.sh')
-rw-r--r--scripts/wrapper/libwrapper.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/wrapper/libwrapper.sh b/scripts/wrapper/libwrapper.sh
index 913c3eb06..677ca3ce4 100644
--- a/scripts/wrapper/libwrapper.sh
+++ b/scripts/wrapper/libwrapper.sh
@@ -275,6 +275,9 @@ cxx_add_host_extra() {
add_icecc_args() {
if [ -n "${PTXDIST_ICECC}" ]; then
add_late_arg "-fno-diagnostics-show-caret"
+ if [ "${PTXDIST_ICECC_REMOTE_CPP}" != 1 -o "${ICECC_REMOTE_CPP}" = "0" ]; then
+ add_late_arg "-Wno-implicit-fallthrough"
+ fi
fi
}