7128466 gcc should support FMA4 and XOP instruction sets
authorGeorge Vasick <george.vasick@oracle.com>
Thu, 23 Feb 2012 08:13:29 -0800
changeset 704 c4fe7d6370ec
parent 703 e737075f09d1
child 705 ea8fed4b5f65
7128466 gcc should support FMA4 and XOP instruction sets 7146733 remove reference to obsolete /usr/ccs/bin from gcc3 Makefile
components/gcc3/Makefile
components/gcc45/Makefile
--- a/components/gcc3/Makefile	Wed Feb 22 18:55:00 2012 -0800
+++ b/components/gcc3/Makefile	Thu Feb 23 08:13:29 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -60,7 +60,7 @@
 CONFIGURE_OPTIONS +=	--enable-languages='c,c++,f77,objc'
 CONFIGURE_OPTIONS +=	--enable-shared
 # sparc and x86 use different assemblers
-CONFIGURE_OPTIONS.sparc +=	--without-gnu-as --with-as=/usr/ccs/bin/as
+CONFIGURE_OPTIONS.sparc +=	--without-gnu-as --with-as=/usr/bin/as
 CONFIGURE_OPTIONS.i386 +=	--with-gnu-as --with-as=/usr/gnu/bin/as
 CONFIGURE_OPTIONS +=	$(CONFIGURE_OPTIONS.$(MACH))
 
--- a/components/gcc45/Makefile	Wed Feb 22 18:55:00 2012 -0800
+++ b/components/gcc45/Makefile	Thu Feb 23 08:13:29 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -53,15 +53,20 @@
 
 CONFIGURE_PREFIX = /usr/gcc/4.5
 
-CONFIGURE_OPTIONS += --enable-languages="c,c++,fortran,objc" \
-	--enable-shared \
-	--with-gmp-include=/usr/include/gmp \
-	--with-mpfr-include=/usr/include/mpfr \
-	--prefix=$(CONFIGURE_PREFIX) \
-	--mandir=$(CONFIGURE_MANDIR) \
-	--infodir=$(CONFIGURE_PREFIX)/share/info \
-	--libexecdir=$(CONFIGURE_PREFIX)/lib
-CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
+CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_PREFIX)/share/info
+CONFIGURE_OPTIONS +=	--libexecdir=$(CONFIGURE_PREFIX)/lib
+CONFIGURE_OPTIONS +=	--enable-languages="c,c++,fortran,objc"
+CONFIGURE_OPTIONS +=	--enable-shared
+CONFIGURE_OPTIONS +=	--with-gmp-include=/usr/include/gmp
+CONFIGURE_OPTIONS +=	--with-mpfr-include=/usr/include/mpfr
+CONFIGURE_OPTIONS +=	--without-gnu-ld --with-ld=/usr/bin/ld
+
+# sparc and x86 use different assemblers
+CONFIGURE_OPTIONS.sparc +=	--without-gnu-as --with-as=/usr/bin/as
+CONFIGURE_OPTIONS.i386 +=	--with-gnu-as --with-as=/usr/gnu/bin/as
+CONFIGURE_OPTIONS +=    $(CONFIGURE_OPTIONS.$(MACH))
+
+CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
 
 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)