diff --git a/bin/nvcc_wrapper b/bin/nvcc_wrapper index 0c55651460..1397148141 100755 --- a/bin/nvcc_wrapper +++ b/bin/nvcc_wrapper @@ -407,7 +407,7 @@ do -Woverloaded-virtual) ;; #strip -Xcompiler because we add it - -Xcompiler) + -Xcompiler|--compiler-options) if [[ $2 != "-o" ]]; then if [ $first_xcompiler_arg -eq 1 ]; then xcompiler_args="$2"