mirror of
https://github.com/reactos/reactos.git
synced 2025-06-03 08:20:27 +00:00
[RBUILD]
- Link C++ apps to libsupc++.a, needed for recent versions of gcc - remove amd64 hack svn path=/trunk/; revision=46884
This commit is contained in:
parent
cf40c11ad3
commit
2899a12647
1 changed files with 2 additions and 5 deletions
|
@ -481,13 +481,10 @@ MingwBackend::GenerateGlobalVariables () const
|
|||
|
||||
fprintf ( fMakefile, "PROJECT_CCLIBS := \"$(shell ${TARGET_CC} -print-libgcc-file-name)\"\n" );
|
||||
|
||||
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)\"" );
|
||||
fprintf ( fMakefile, "PROJECT_CXXLIBS := \"$(shell ${TARGET_CPP} -print-file-name=libsupc++.a)\" \"$(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)\"" );
|
||||
|
||||
/* hack to get libgcc_eh.a, should check mingw version or something */
|
||||
if (Environment::GetArch() == "amd64")
|
||||
fprintf ( fMakefile, " \"$(shell ${TARGET_CPP} -print-file-name=libgcc_eh.a)\"" );
|
||||
/* hack to get _get_output_format, needed by libmingwex */
|
||||
else if (Environment::GetArch() == "i386")
|
||||
if (Environment::GetArch() == "i386")
|
||||
fprintf ( fMakefile, " \"$(shell ${TARGET_CPP} -print-file-name=libcoldname.a)\" ");
|
||||
fprintf ( fMakefile,"\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue