فهرست منبع

* 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