render / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone

Blame 0011-configure-Enable-build-by-default-PIE-read-only-relo.patch

Justin M. Forbes 45e84a
From 6d450bfbc862d0dab0e8da10ae15698612800726 Mon Sep 17 00:00:00 2001
Justin M. Forbes 45e84a
From: Brad <brad@comstyle.com>
Justin M. Forbes 45e84a
Date: Mon, 28 Nov 2011 19:53:49 -0500
Justin M. Forbes 45e84a
Subject: [PATCH 11/25] configure: Enable build by default PIE / read-only
Justin M. Forbes 45e84a
 relocation sections on OpenBSD amd64/i386.
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
Enable build by default PIE / read-only relocation sections for the QEMU
Justin M. Forbes 45e84a
binaries on OpenBSD amd64/i386.
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
Signed-off-by: Brad Smith <brad@comstyle.com>
Justin M. Forbes 45e84a
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Justin M. Forbes 45e84a
---
Justin M. Forbes 45e84a
 configure |    2 +-
Justin M. Forbes 45e84a
 1 files changed, 1 insertions(+), 1 deletions(-)
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
diff --git a/configure b/configure
Justin M. Forbes 45e84a
index ac4840d..b113f60 100755
Justin M. Forbes 45e84a
--- a/configure
Justin M. Forbes 45e84a
+++ b/configure
Justin M. Forbes 45e84a
@@ -1116,7 +1116,7 @@ fi
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
 if test "$pie" = ""; then
Justin M. Forbes 45e84a
   case "$cpu-$targetos" in
Justin M. Forbes 45e84a
-    i386-Linux|x86_64-Linux)
Justin M. Forbes 45e84a
+    i386-Linux|x86_64-Linux|i386-OpenBSD|x86_64-OpenBSD)
Justin M. Forbes 45e84a
       ;;
Justin M. Forbes 45e84a
     *)
Justin M. Forbes 45e84a
       pie="no"
Justin M. Forbes 45e84a
-- 
Justin M. Forbes 45e84a
1.7.7.5
Justin M. Forbes 45e84a