Introduced -nomain flag to disable generation of main(),

in assumption that it is provided by one of the libraries.
This commit is contained in:
Alexander Gorshenev
2017-03-20 17:58:35 +03:00
committed by alexander-gorshenev
parent b5441f7470
commit 2d0aa9dcbb
6 changed files with 24 additions and 7 deletions
-5
View File
@@ -1,5 +0,0 @@
extern "C" int Konan_main(int argc, char** argv);
int main(int argc, char** argv) {
return Konan_main(argc, argv);
}