Pārlūkot izejas kodu

* 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 gadi atpakaļ
vecāks
revīzija
c985c33a4c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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