ppc64: use DEB_HOST_GNU_CPU instead of BUILD; drop TODOs, the current

implementation is correct.
This commit is contained in:
Loïc Minier
2009-04-10 19:23:52 +00:00
parent ed76d2df45
commit 59226c6117
2 changed files with 3 additions and 4 deletions

2
debian/changelog vendored
View File

@ -65,6 +65,8 @@ gtk+2.0 (2.16.0-2) UNRELEASED; urgency=low
[ Loic Minier ]
* Build-dep on autotools-dev for the config.guess / .sub updates to work.
* Drop duplicate Section/Priority fields.
* ppc64: use DEB_HOST_GNU_CPU instead of BUILD; drop TODOs, the current
implementation is correct.
-- Sebastian Dröge <slomo@debian.org> Sat, 04 Apr 2009 07:30:56 +0200

5
debian/rules vendored
View File

@ -46,10 +46,7 @@ IMMODULE_FILES_D := $(MODULES_BASE_PATH)/immodule-files.d
LOADER_FILES_D := $(MODULES_BASE_PATH)/loader-files.d
# ppc64 support; see #386815
# XXX Should probably be fixed in binutils
# XXX Use LDFLAGS instead of CFLAGS?
# XXX shouldn't we check the arch instead of the CPU?
ifeq ($(DEB_BUILD_GNU_CPU),powerpc64)
ifeq ($(DEB_HOST_GNU_CPU),powerpc64)
CFLAGS += -mminimal-toc
endif