[ros-diffs] [tkreuzer] 46854: [RBUILD] Don't link to libgcc_eh.a, we don't need it anymore and newer gccs don't have it anyway.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Apr 12 22:14:37 CEST 2010


Author: tkreuzer
Date: Mon Apr 12 22:14:37 2010
New Revision: 46854

URL: http://svn.reactos.org/svn/reactos?rev=46854&view=rev
Log:
[RBUILD]
Don't link to libgcc_eh.a, we don't need it anymore and newer gccs don't have it anyway.

Modified:
    branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp

Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp?rev=46854&r1=46853&r2=46854&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/mingw.cpp [iso-8859-1] Mon Apr 12 22:14:37 2010
@@ -483,11 +483,8 @@
 
 		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=ofmt_stub.a)\"");
 		fprintf ( fMakefile,"\n");
 	}




More information about the Ros-diffs mailing list