diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 09:31:46 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 09:32:12 +0200 |
commit | 61afc9f057bda2e27d547a406caf582d00a80638 (patch) | |
tree | cb6835a73d899745e0c53f951cb5de1e00646e0d /solenv | |
parent | ca6a1d6fa6390a5392afbc9e41c65883906c67e8 (diff) |
Revert "gcc-wrapper: warn on invalid path names."
This reverts commit 5f0145818cba17558708ef731e2bcc6a0b92a9f7.
Breaks the tinderboxes, I am afraid.
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gcc-wrappers/wrapper.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index d83423da6c41..42ead2f9bed0 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("."); |