[csw-devel] SF.net SVN: gar:[15369] csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Aug 18 16:49:15 CEST 2011


Revision: 15369
          http://gar.svn.sourceforge.net/gar/?rev=15369&view=rev
Author:   wahwah
Date:     2011-08-18 14:49:14 +0000 (Thu, 18 Aug 2011)

Log Message:
-----------
pkg/gcc4/branches/bootstrap-4.6: gcc can't be built in a subdirectory of the sources

Modified Paths:
--------------
    csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile

Modified: csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile	2011-08-18 09:46:37 UTC (rev 15368)
+++ csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile	2011-08-18 14:49:14 UTC (rev 15369)
@@ -73,15 +73,16 @@
 CPU_sparc_32 = v8
 CPU_sparc_64 = v9
 CPU_i386_32 = i386
-CPU_i386_64 = amd64
+CPU_i386_64 = x86-64
 
 CONFIGURE_ARGS_sparc += --with-cpu=$(CPU_$(GARCH)_32)
 CONFIGURE_ARGS_i386 += --with-cpu-32=$(CPU_$(GARCH)_32)
-CONFIGURE_ARGS_i386 += --with-cpu-64=$(CPU_$(GARCH)_64)
+# CONFIGURE_ARGS_i386 += --with-cpu-64=$(CPU_$(GARCH)_64)
 CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(GARCH))
 
 # GCC can't be built in the same directory with the sources.
-OBJDIR          = objdir
+# It also can't be built in a subdirectory of the sources.
+OBJDIR          = $(abspath $(WORKDIR)/objdir)
 
 # These flags are passed when gcc is built with gcc.
 # Needed to remove FLAVOR_FLAGS, because they were Sun Studio specific.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list