mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:26:02 +00:00
[RBUILD]
- Don't link to RosBE's ofmt_stub.a, as we have our own version now. - Don't link to libcoldname.a on amd64, instead link to libgcc_eh.a svn path=/trunk/; revision=46615
This commit is contained in:
parent
3cedfaae34
commit
572aa7509d
1 changed files with 8 additions and 9 deletions
|
@ -481,17 +481,16 @@ MingwBackend::GenerateGlobalVariables () const
|
||||||
|
|
||||||
fprintf ( fMakefile, "PROJECT_CCLIBS := \"$(shell ${TARGET_CC} -print-libgcc-file-name)\"\n" );
|
fprintf ( fMakefile, "PROJECT_CCLIBS := \"$(shell ${TARGET_CC} -print-libgcc-file-name)\"\n" );
|
||||||
|
|
||||||
// We use our proprietary "ofmt_stub.a" to implement a stub for "_get_output_format" required by "libmingwex.a".
|
fprintf ( fMakefile, "PROJECT_CXXLIBS := \"$(shell ${TARGET_CPP} -print-file-name=libstdc++.a)\" \"$(shell ${TARGET_CPP} -print-libgcc-file-name)\" \"$(shell ${TARGET_CPP} -print-file-name=libmingw32.a)\" \"$(shell ${TARGET_CPP} -print-file-name=libmingwex.a)\"" );
|
||||||
// This archive just contains the compiled "ofmt_stub.s" supplied with the MinGW Runtime sources.
|
|
||||||
fprintf ( fMakefile, "PROJECT_CXXLIBS := \"$(shell ${TARGET_CPP} -print-file-name=libstdc++.a)\" \"$(shell ${TARGET_CPP} -print-libgcc-file-name)\" \"$(shell ${TARGET_CPP} -print-file-name=libmingw32.a)\" \"$(shell ${TARGET_CPP} -print-file-name=libmingwex.a)\" \"$(shell ${TARGET_CPP} -print-file-name=ofmt_stub.a)\" \"$(shell ${TARGET_CPP} -print-file-name=libcoldname.a)\"\n" );
|
|
||||||
|
|
||||||
/* hack to get libgcc_eh.a, should check mingw version or something */
|
/* hack to get libgcc_eh.a, should check mingw version or something */
|
||||||
if (Environment::GetArch() == "amd64")
|
if (Environment::GetArch() == "amd64")
|
||||||
{
|
fprintf ( fMakefile, " \"$(shell ${TARGET_CPP} -print-file-name=libgcc_eh.a)\"" );
|
||||||
fprintf ( fMakefile, "PROJECT_LPPFLAGS += $(shell ${TARGET_CPP} -print-file-name=libgcc_eh.a)\n" );
|
/* hack to get _get_output_format, needed by libmingwex */
|
||||||
|
else if (Environment::GetArch() == "i386")
|
||||||
|
fprintf ( fMakefile, " \"$(shell ${TARGET_CPP} -print-file-name=libcoldname.a)\" ");
|
||||||
|
fprintf ( fMakefile,"\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
MingwModuleHandler::GenerateParameters ( "PROJECT", "+=", ProjectNode.non_if_data );
|
MingwModuleHandler::GenerateParameters ( "PROJECT", "+=", ProjectNode.non_if_data );
|
||||||
MingwModuleHandler::GenerateParameters ( "PROJECT_HOST", "+=", ProjectNode.host_non_if_data );
|
MingwModuleHandler::GenerateParameters ( "PROJECT_HOST", "+=", ProjectNode.host_non_if_data );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue