bump product version to 5.0.4.1
[LibreOffice.git] / solenv / gcc-wrappers / g++.cxx
blob626b1643590ce843d0300d84cc866d639375744b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include "wrapper.hxx"
12 int main(int argc, char *argv[]) {
13 vector<string> rawargs(argv + 1, argv + argc);
15 string command=getexe("REAL_CXX");
16 string flags=getexe("REAL_CXX_FLAGS", true);
18 string args=flags.empty() ? string() : flags + " ";
19 args += processccargs(rawargs);
21 setupccenv();
23 return startprocess(command,args);
27 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */