Author: dcoakley
Date: 2012-03-31 21:17:16 -0400 (Sat, 31 Mar 2012)
New Revision: 3897

Modified:
   trunk/osprey-gcc-4.2.0/gcc/config/i386/t-linux64
Log:
Fix osprey-gcc-4.2.0 build failure on Linux Mint 12 64-bit.

This distro puts the 64-bit C runtime object files in
/usr/lib/x86_64-linux-gnu instead of /usr/lib or /usr/lib64.

Approved by: Sun Chan


Modified: trunk/osprey-gcc-4.2.0/gcc/config/i386/t-linux64
===================================================================
--- trunk/osprey-gcc-4.2.0/gcc/config/i386/t-linux64    2012-03-31 22:55:42 UTC 
(rev 3896)
+++ trunk/osprey-gcc-4.2.0/gcc/config/i386/t-linux64    2012-04-01 01:17:16 UTC 
(rev 3897)
@@ -6,7 +6,7 @@
 
 MULTILIB_OPTIONS = m64/m32
 MULTILIB_DIRNAMES = 64 32 
-MULTILIB_OSDIRNAMES = $(shell if file /usr/lib/crti.o  -Lb |fgrep "ELF 32-bit" 
>/dev/null ; then  echo  "../lib64 ../lib"; else echo  "../lib64 ../lib32" ; fi)
+MULTILIB_OSDIRNAMES = $(shell if file /usr/lib/crti.o  -Lb |fgrep "ELF 32-bit" 
>/dev/null ; then  echo  "../lib64 ../lib"; elif [ -d /usr/lib64 ] ; then echo  
"../lib64 ../lib32" ; else echo "../lib/x86_64-linux-gnu ../lib32" ; fi)
 
 LIBGCC = stmp-multilib
 INSTALL_LIBGCC = install-multilib


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to