From kde-commits Wed Jul 18 15:29:25 2012 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 18 Jul 2012 15:29:25 +0000 To: kde-commits Subject: icecream/client Message-Id: <20120718152925.2AE0AAC7A9 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134262562127134 SVN commit 1306361 by lunakl: don't use -flto when preprocessing the source file M +3 -0 arg.cpp --- trunk/icecream/client/arg.cpp #1306360:1306361 @@ -310,6 +310,9 @@ } else if (str_equal("-fcolor-diagnostics", a)) { fno_color_diagnostics = false; args.append( a, Arg_Rest ); + } else if ( str_equal( "-flto", a ) ) { + // pointless when preprocessing, and Clang would emit a warning + args.append( a, Arg_Remote ); } else args.append( a, Arg_Rest ); } else {