diff -u gcc-4.4-4.4.7/debian/changelog gcc-4.4-4.4.7/debian/changelog --- gcc-4.4-4.4.7/debian/changelog +++ gcc-4.4-4.4.7/debian/changelog @@ -1,3 +1,12 @@ +gcc-4.4 (4.4.7-7+rpi1) jessie-staging; urgency=low + + * Modified to compile code optimized for the Raspberry Pi (ARMv6+VFP). + * Disable testsuite + * Hack "distribution" to Debian for now, more recent gcc versions are getting + better fixes but it's not worth it for a legacy version like this. + + -- Peter Michael Green Thu, 13 Feb 2014 21:13:28 +0000 + gcc-4.4 (4.4.7-7) unstable; urgency=medium * Fix build failure with linux-3.8 kernel headers. Closes: #735920. diff -u gcc-4.4-4.4.7/debian/rules.defs gcc-4.4-4.4.7/debian/rules.defs --- gcc-4.4-4.4.7/debian/rules.defs +++ gcc-4.4-4.4.7/debian/rules.defs @@ -8,7 +8,7 @@ builddir = $(PWD)/build stampdir = stamps -distribution := $(shell lsb_release -is) +distribution := Debian distrelease := $(shell lsb_release -cs) # On non official archives, "lsb_release -cs" default to "n/a". Assume @@ -966,7 +966,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 diff -u gcc-4.4-4.4.7/debian/rules2 gcc-4.4-4.4.7/debian/rules2 --- gcc-4.4-4.4.7/debian/rules2 +++ gcc-4.4-4.4.7/debian/rules2 @@ -317,9 +317,9 @@ 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 endif # This would be so much simpler if "or" were supported, we would just add # "or ifeq ($(DEB_TARGET_ARCH),armhf)" to the above @@ -329,16 +329,16 @@ 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 endif ifeq ($(with_arm_thumb),yes) - CONFARGS += --with-mode=thumb + #CONFARGS += --with-mode=thumb endif endif