[csw-devel] SF.net SVN: gar:[19913] csw/mgar/pkg/gcc4/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Dec 18 12:46:58 CET 2012
Revision: 19913
http://gar.svn.sourceforge.net/gar/?rev=19913&view=rev
Author: wahwah
Date: 2012-12-18 11:46:58 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
gcc4/trunk: The previous way of doing it did not work.
Modified Paths:
--------------
csw/mgar/pkg/gcc4/trunk/Makefile
Modified: csw/mgar/pkg/gcc4/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/trunk/Makefile 2012-12-18 10:37:41 UTC (rev 19912)
+++ csw/mgar/pkg/gcc4/trunk/Makefile 2012-12-18 11:46:58 UTC (rev 19913)
@@ -72,13 +72,11 @@
# Using ccs/bin/bas on x86 results in this problem:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35531
-ifeq ($(GARCH),sparc)
-CONFIGURE_ARGS += --with-as=/usr/ccs/bin/as
-CONFIGURE_ARGS += --without-gnu-as
-else
-CONFIGURE_ARGS += --with-gnu-as
-CONFIGURE_ARGS += --with-as=/opt/csw/bin/gas
-endif
+CONFIGURE_ARGS_sparc += --with-as=/usr/ccs/bin/as
+CONFIGURE_ARGS_sparc += --without-gnu-as
+CONFIGURE_ARGS_i386 += --with-gnu-as
+CONFIGURE_ARGS_i386 += --with-as=/opt/csw/bin/gas
+CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(GARCH))
# GCC can't be built in the same directory with the sources.
# It also can't be built in a subdirectory of the sources.
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