소스 검색

* Only run stringfix if being ran from depcomp.

gcc seems to make *another* pass when using -g3 to dump all the marcos
with -dD, despite having this set in the first pass as well.
Bryan Drewery 14 년 전
부모
커밋
c985c33a4c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      build/cc1plus

+ 2 - 2
build/cc1plus

@@ -21,8 +21,8 @@ for arg; do
   esac
 done
 
-# Running in depcomp, bail out
-if [ $depcomp -eq 1 ]; then
+# Only continue if running in depcomp (avoiding a 2nd pass for -dD/-g3)
+if [ $depcomp -eq 0 ]; then
   exec $(${COLLECT_GCC} --print-prog-name=cc1plus) $@
 fi