Bug#642413: [gcc-4.6] Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too.
Package: gcc-4.6
Version: 4.6.1-11
Severity: wishlist
Tags: patch
Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too, not only Ubuntu.
When an attached patch is applied, it is confirmed that the package can be built.
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
diff -Nurd gcc-4.6-4.6.1.orig/debian/rules.patch gcc-4.6-4.6.1/debian/rules.patch
--- gcc-4.6-4.6.1.orig/debian/rules.patch 2011-09-22 21:47:13.000000000 +0900
+++ gcc-4.6-4.6.1/debian/rules.patch 2011-09-22 21:48:30.000000000 +0900
@@ -98,11 +98,7 @@
endif
endif
ifeq ($(with_ssp)-$(with_ssp_default),yes-yes)
- ifeq ($(distribution),Ubuntu)
- hardening_patches += gcc-default-ssp$(if $(filter ppc64,$(DEB_TARGET_ARCH)),-ppc64)
- else
- hardening_patches += gcc-default-ssp
- endif
+ hardening_patches += gcc-default-ssp$(if $(filter ppc64,$(DEB_TARGET_ARCH)),-ppc64)
endif
# FIXME 4.5: Drop and adjust symbols files
@@ -191,9 +187,7 @@
endif
ifeq ($(DEB_TARGET_ARCH),ppc64)
- ifeq ($(distribution),Ubuntu)
- debian_patches += ibm-branch
- endif
+ debian_patches += ibm-branch
endif
ifeq ($(DEB_CROSS),yes)
@@ -271,10 +265,8 @@
debian_patches += gcc-as-needed
endif
debian_patches += mips-fix-loongson2f-nop
-ifeq ($(distribution),Ubuntu)
- ifeq ($(DEB_TARGET_ARCH),ppc64)
- debian_patches += gcc-ppc64-O3
- endif
+ifeq ($(DEB_TARGET_ARCH),ppc64)
+ debian_patches += gcc-ppc64-O3
endif
debian_patches += gcc-system-root
debian_patches += libgomp-kfreebsd-testsuite
Reply to: