Bug#538313: patch for openssh segmentation fault on mipsel
Hi guys,
The -fPIC is in conflict with the -fPIE option. The patch in the
attachment will fix this problem. Please apply it. Thanks.
Regards,
Qi
--
LIU Qi
liuqi82@gmail.com
liuqi@printk.org
PGP Key fingerprint:
A8C0 860C D8A9 D6FC 551F
6E2C A4AB 763B 00EC 886F
diff --git a/debian/rules b/debian/rules
index 1a0388a..ff83b85 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
Reply to: