components/gcc49/patches/007-libgomp.exp.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 16 Dec 2015 20:20:50 -0800
changeset 5205 eaff9ab86216
permissions -rw-r--r--
21637184 integrate GCC 4.9.3 in Solaris 21637193 enable CilkPlus support for SPARC in GCC 4.9.3

# Stefan Teleman <[email protected]>
# We want MMX, SSE and SSE2 in libgomp.
# Internal patch. Submitted upstream. Status pending.
--- libgomp/testsuite/lib/libgomp.exp	2013-11-07 10:07:58.000000000 -0500
+++ libgomp/testsuite/lib/libgomp.exp	2014-11-19 08:37:47.706302934 -0500
@@ -145,7 +145,7 @@
     # We use atomic operations in the testcases to validate results.
     if { ([istarget i?86-*-*] || [istarget x86_64-*-*])
 	 && [check_effective_target_ia32] } {
-	lappend ALWAYS_CFLAGS "additional_flags=-march=i486"
+	lappend ALWAYS_CFLAGS "additional_flags=-march=pentium4"
     }
 
     if [istarget *-*-darwin*] {