summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/wrapper/libwrapper.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/wrapper/libwrapper.sh b/scripts/wrapper/libwrapper.sh
index d54e923dd..91bb955a8 100644
--- a/scripts/wrapper/libwrapper.sh
+++ b/scripts/wrapper/libwrapper.sh
@@ -279,6 +279,7 @@ add_icecc_args() {
if [ -n "${PTXDIST_ICECC}" ]; then
if [ "${1}" != clang ]; then
add_late_arg "-fno-diagnostics-show-caret"
+ add_late_arg "-gno-record-gcc-switches"
elif [ "${PTXDIST_ICECC_CLANG}" != 1 ]; then
unset PTXDIST_ICECC
return