From 667f6f9f622f4e2eaaac815f88495dac75db4b0f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 28 Aug 2009 08:10:26 +0000 Subject: Build with just -fPIC on mips/mipsel, not -fPIE as well (thanks, LIU Qi; closes: #538313). --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index bf5d76395..9ac69e177 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +openssh (1:5.1p1-8) UNRELEASED; urgency=low + + * Build with just -fPIC on mips/mipsel, not -fPIE as well (thanks, LIU Qi; + closes: #538313). + + -- Colin Watson Fri, 28 Aug 2009 09:06:32 +0100 + openssh (1:5.1p1-7) unstable; urgency=low * Update config.guess and config.sub from autotools-dev 20090611.1 diff --git a/debian/rules b/debian/rules index 1a0388a5d..ff83b852b 100755 --- a/debian/rules +++ b/debian/rules @@ -44,7 +44,7 @@ ifneq (,$(findstring :$(DEB_HOST_ARCH_OS):,:linux:knetbsd:)) PIC_CFLAGS := -fPIC PIC_LDFLAGS := -fPIC endif - ifeq (,$(findstring :$(DEB_HOST_ARCH_CPU):,:hppa:m68k:)) + ifeq (,$(findstring :$(DEB_HOST_ARCH_CPU):,:hppa:m68k:mips:mipsel:)) # Use position-independent executables to take advantage of address space # layout randomisation. TODO: This should be done in configure. PIE_CFLAGS := -fPIE -- cgit v1.2.3