[arch-commits] CVS update of arch/build/base/gcc (PKGBUILD gcc_pure64.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun May 20 11:14:25 UTC 2007


    Date: Sunday, May 20, 2007 @ 07:14:25
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/base/gcc

Modified: PKGBUILD (1.64 -> 1.65) gcc_pure64.patch (1.1 -> 1.2)

x86_64 prepared; pure64 patch fixed following CLFS


------------------+
 PKGBUILD         |    6 ++----
 gcc_pure64.patch |   32 ++++++++++++++++----------------
 2 files changed, 18 insertions(+), 20 deletions(-)


Index: arch/build/base/gcc/PKGBUILD
diff -u arch/build/base/gcc/PKGBUILD:1.64 arch/build/base/gcc/PKGBUILD:1.65
--- arch/build/base/gcc/PKGBUILD:1.64	Sun May 20 05:44:16 2007
+++ arch/build/base/gcc/PKGBUILD	Sun May 20 07:14:25 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.64 2007/05/20 09:44:16 jgc Exp $
+# $Id: PKGBUILD,v 1.65 2007/05/20 11:14:25 andyrtr Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=gcc
 pkgver=4.2.0
@@ -16,7 +16,7 @@
          'f30a13d9d33693f4cd6452318fa80ff3'
          '3115bf3886355651fa34b3ad72c6e245'
          'e70d37c0623b15e90cff47d91816a941'
-         '1ceaa49e3a1d9f984ecc2893c43f7425')
+         '8fc86e4c4d1f4ec8b226307d39fbd9e3')
 
 build() {
   export MAKEFLAGS="-j1"
@@ -34,12 +34,10 @@
 
   mkdir build
   cd build
-
   ../configure --prefix=/usr --enable-shared \
       --enable-languages=c,c++,objc --enable-threads=posix \
       --enable-__cxa_atexit  --disable-multilib --libdir=/usr/lib \
       --libexecdir=/usr/lib --enable-clocale=gnu
-
   make bootstrap || return 1
   make DESTDIR=${startdir}/pkg install || return 1
   mkdir -p ${startdir}/pkg/lib
Index: arch/build/base/gcc/gcc_pure64.patch
diff -u arch/build/base/gcc/gcc_pure64.patch:1.1 arch/build/base/gcc/gcc_pure64.patch:1.2
--- arch/build/base/gcc/gcc_pure64.patch:1.1	Fri Feb  2 04:34:57 2007
+++ arch/build/base/gcc/gcc_pure64.patch	Sun May 20 07:14:25 2007
@@ -1,20 +1,20 @@
-diff -Naur gcc-4.1.0.orig/gcc/config/i386/linux64.h gcc-4.1.0/gcc/config/i386/linux64.h
---- gcc-4.1.0.orig/gcc/config/i386/linux64.h	2005-08-10 13:53:01.000000000 -0400
-+++ gcc-4.1.0/gcc/config/i386/linux64.h	2006-03-01 01:13:54.000000000 -0500
-@@ -60,8 +60,8 @@
-   %{!shared: \
-     %{!static: \
-       %{rdynamic:-export-dynamic} \
--      %{m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
--      %{!m32:%{!dynamic-linker:-dynamic-linker /lib64/ld-linux-x86-64.so.2}}} \
-+      %{m32:%{!dynamic-linker:-dynamic-linker /lib32/ld-linux.so.2}} \
-+      %{!m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux-x86-64.so.2}}} \
-     %{static:-static}}"
+diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
+--- gcc-4.2.0.orig/gcc/config/i386/linux64.h	2007-05-16 19:21:19.000000000 -0400
++++ gcc-4.2.0/gcc/config/i386/linux64.h	2007-05-18 17:04:05.000000000 -0400
+@@ -49,8 +49,8 @@
+    When the -shared link option is used a final link is not being
+    done.  */
  
- /* Similar to standard Linux, but adding -ffast-math support.  */
-diff -Naur gcc-4.1.0.orig/gcc/config/i386/t-linux64 gcc-4.1.0/gcc/config/i386/t-linux64
---- gcc-4.1.0.orig/gcc/config/i386/t-linux64	2005-08-10 13:53:01.000000000 -0400
-+++ gcc-4.1.0/gcc/config/i386/t-linux64	2006-03-01 01:13:54.000000000 -0500
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
+-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
++#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
++#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
+ 
+ #undef	LINK_SPEC
+ #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
+diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.0/gcc/config/i386/t-linux64
+--- gcc-4.2.0.orig/gcc/config/i386/t-linux64	2007-05-16 19:21:19.000000000 -0400
++++ gcc-4.2.0/gcc/config/i386/t-linux64	2007-05-18 17:04:36.000000000 -0400
 @@ -6,7 +6,7 @@
  
  MULTILIB_OPTIONS = m64/m32




More information about the arch-commits mailing list