[Libreoffice-commits] core.git: solenv/gcc-wrappers

Jan Holesovsky kendy at collabora.com
Thu Sep 19 00:32:33 PDT 2013


 solenv/gcc-wrappers/wrapper.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 61afc9f057bda2e27d547a406caf582d00a80638
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Sep 19 09:31:46 2013 +0200

    Revert "gcc-wrapper: warn on invalid path names."
    
    This reverts commit 5f0145818cba17558708ef731e2bcc6a0b92a9f7.
    
    Breaks the tinderboxes, I am afraid.

diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx
index d83423d..42ead2f 100644
--- a/solenv/gcc-wrappers/wrapper.cxx
+++ b/solenv/gcc-wrappers/wrapper.cxx
@@ -87,11 +87,7 @@ string processccargs(vector<string> rawargs) {
 
     for(vector<string>::iterator i = rawargs.begin(); i != rawargs.end(); ++i) {
         args.append(" ");
-        if(i->find("/") == 0) {
-            cerr << "Error: absolute unix path passed that looks like an option: '" << *i << "'";
-            args.append(*i);
-        }
-        else if(*i == "-o") {
+        if(*i == "-o") {
             // TODO: handle more than just exe output
             ++i;
             size_t dot=(*i).find_last_of(".");


More information about the Libreoffice-commits mailing list