diff -u gcc-4.5-4.5.3/debian/rules2 gcc-4.5-4.5.3/debian/rules2 --- gcc-4.5-4.5.3/debian/rules2 +++ gcc-4.5-4.5.3/debian/rules2 @@ -339,15 +339,15 @@ ifneq (,$(findstring gcj,$(PKGSOURCE))) CONFARGS += --with-arch=armv6 else - CONFARGS += --with-arch=armv7-a + CONFARGS += --with-arch=armv6 endif - CONFARGS += --with-float=$(float_abi) --with-fpu=vfpv3-d16 + CONFARGS += --with-float=$(float_abi) --with-fpu=vfp else # Debian armel CONFARGS += --with-arch=armv4t --with-float=$(float_abi) endif ifeq ($(with_arm_thumb),yes) - CONFARGS += --with-mode=thumb + # CONFARGS += --with-mode=thumb endif endif diff -u gcc-4.5-4.5.3/debian/rules.defs gcc-4.5-4.5.3/debian/rules.defs --- gcc-4.5-4.5.3/debian/rules.defs +++ gcc-4.5-4.5.3/debian/rules.defs @@ -121,7 +121,7 @@ DEB_CROSS = yes else # first ones are squeeze+1 and maverick - ifeq (,$(filter $(distrelease),lenny etch squeeze sid dapper hardy jaunty karmic lucid)) + ifeq (,$(filter $(distrelease),lenny etch squeeze wheezy sid dapper hardy jaunty karmic lucid)) with_sysroot = / endif endif @@ -914,7 +914,7 @@ # run testsuite --------------- with_check := yes # if you don't want to run the gcc testsuite, uncomment the next line -#with_check := disabled by hand +with_check := disabled by plugwash ifeq ($(with_base_only),yes) with_check := no endif @@ -960,7 +960,7 @@ export debian_extra_langs # multilib -ifeq (,$(filter $(distrelease),lenny etch squeeze sid dapper hardy jaunty karmic lucid)) +ifeq (,$(filter $(distrelease),lenny etch squeeze wheezy sid dapper hardy jaunty karmic lucid)) biarch_map := i686=x86_64 powerpc=powerpc64 sparc=sparc64 s390=s390x s390x=s390 \ x86_64=i686 powerpc64=powerpc mips=mips64 mipsel=mips64el else diff -u gcc-4.5-4.5.3/debian/changelog gcc-4.5-4.5.3/debian/changelog --- gcc-4.5-4.5.3/debian/changelog +++ gcc-4.5-4.5.3/debian/changelog @@ -1,3 +1,11 @@ +gcc-4.5 (4.5.3-12+rpi1) unstable; urgency=low + + * Modified to compile code optimized for the Raspberry Pi (ARMv6+VFP) + * Fix build scripts to recognise wheezy + * Disable testsuite + + -- Peter Michael Green Mon, 30 Apr 2012 08:11:47 +0000 + gcc-4.5 (4.5.3-12) unstable; urgency=low * Update to SVN 20111206 (r183389) from the gcc-4_5-branch.