Skip to content
Snippets Groups Projects
Commit 266ad1ce authored by Zuzana Baranová's avatar Zuzana Baranová
Browse files

tools: Give WEXITSTATUS an lvalue (some systems take its address).

parent 963a7352
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,8 @@ int main( int argc, char **argv ) ...@@ -342,7 +342,8 @@ int main( int argc, char **argv )
s += " -o " + po.outputFile; s += " -o " + po.outputFile;
s.insert( 0, "gcc " ); s.insert( 0, "gcc " );
s.append( " -static" ); s.append( " -static" );
ret = WEXITSTATUS( system( s.c_str() ) ); int gccret = system( s.c_str() );
ret = WEXITSTATUS( gccret );
} }
if ( llvmExtract( objFiles, clang ) ) if ( llvmExtract( objFiles, clang ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment