Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip -x c-header et al too.

  • Loading branch information...
commit bcdbe79b8c60ae08b1b6864bf4673bee9b81d9ce 1 parent 2132677
@jperkin jperkin authored
Showing with 8 additions and 6 deletions.
  1. +8 −6 mk/wrapper/scan
View
14 mk/wrapper/scan
@@ -38,11 +38,13 @@
# Optional argument processing.
for arg do
case $arg in
- # Append extra libs to output objects, but not when using 'ld -r'.
- -o) append_extra_libs=yes ;;
- -r) rflag=yes ;;
- -E) preproc=yes ;;
- -M*) preproc=yes ;;
- *) ;;
+ # Append extra libs to output objects, but not when using 'ld -r' or a
+ # compiler in pre-processor mode.
+ -o) append_extra_libs=yes ;;
+ -r) rflag=yes ;;
+ -E) preproc=yes ;;
+ -M*) preproc=yes ;;
+ c-header|c++-header) preproc=yes ;;
+ *) ;;
esac
done
Please sign in to comment.
Something went wrong with that request. Please try again.