2017-03-15 20:38:55 +01:00
|
|
|
From 1825b6ee2b448261ae1bfde344a8127dbdec1e9a Mon Sep 17 00:00:00 2001
|
2013-10-08 20:29:33 +02:00
|
|
|
From: Dinar Valeev <k0da@opensuse.org>
|
|
|
|
Date: Wed, 2 Oct 2013 17:56:03 +0200
|
|
|
|
Subject: [PATCH] configure: Enable PIE for ppc and ppc64 hosts
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
|
2013-12-08 06:19:09 +01:00
|
|
|
[AF: Rebased for v1.7]
|
2013-10-08 20:29:33 +02:00
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
|
|
---
|
2014-01-17 23:04:30 +01:00
|
|
|
configure | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2013-10-08 20:29:33 +02:00
|
|
|
|
|
|
|
diff --git a/configure b/configure
|
2017-03-15 20:38:55 +01:00
|
|
|
index 3770d7c263..9fdf7e7abc 100755
|
2013-10-08 20:29:33 +02:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2017-03-15 20:38:55 +01:00
|
|
|
@@ -1567,7 +1567,7 @@ fi
|
2013-10-08 20:29:33 +02:00
|
|
|
|
|
|
|
if test "$pie" = ""; then
|
|
|
|
case "$cpu-$targetos" in
|
2013-12-08 06:19:09 +01:00
|
|
|
- i386-Linux|x86_64-Linux|x32-Linux|i386-OpenBSD|x86_64-OpenBSD)
|
|
|
|
+ i386-Linux|x86_64-Linux|x32-Linux|ppc*-Linux|i386-OpenBSD|x86_64-OpenBSD)
|
2013-10-08 20:29:33 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
pie="no"
|