diff --git a/src/tools/flags.jam b/src/tools/flags.jam index a9f8fc187..045f9af69 100644 --- a/src/tools/flags.jam +++ b/src/tools/flags.jam @@ -34,7 +34,7 @@ rule init ( ) rule write-main ( target : : properties * ) { print.output $(target) ; - print.text "int main() {}\n" : yes ; + print.text "int main() { return 0; }\n" : yes ; } # Applies true-properties if the toolset recognizes a specific flag.