summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2017-02-09 16:01:13 +0100
committerChema Alonso Josa <nimiux@gentoo.org>2017-02-09 16:01:41 +0100
commit02d2f6de0f054250af528d20cb9d4594ee5352a6 (patch)
treeda668e1ad5b5342442cf941a8af045c853ec6f21 /dev-lisp/sbcl/files
parentmedia-tv/plex-media-server: version bump to 1.3.4 (diff)
downloadgentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.tar.gz
gentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.tar.bz2
gentoo-02d2f6de0f054250af528d20cb9d4594ee5352a6.zip
dev-lisp/sbcl: Removes -no-pie GCC option
Fixes bug #608678 Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-lisp/sbcl/files')
-rw-r--r--dev-lisp/sbcl/files/sbcl-1.3.14-config.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
new file mode 100644
index 000000000000..c12700d0d6f7
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch
@@ -0,0 +1,22 @@
+diff -Nuar a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile
+--- a/src/runtime/GNUmakefile 2017-01-22 20:43:20.000000000 +0100
++++ b/src/runtime/GNUmakefile 2017-02-09 15:42:22.340029401 +0100
+@@ -39,18 +39,6 @@
+ # OS_SRC, OS_LIBS, OS_CLEAN_FILES
+ include Config
+
+-# Disable PIE when possible
+-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e no-pie),)
+-CFLAGS += -fno-pie
+-LINKFLAGS += -no-pie
+-LDFLAGS += -no-pie
+-endif
+-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e -nopie),)
+-CFLAGS += -fno-pie
+-LINKFLAGS += -nopie
+-LDFLAGS += -nopie
+-endif
+-
+ COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c dynbind.c \
+ funcall.c gc-common.c globals.c interr.c interrupt.c \
+ largefile.c monitor.c os-common.c parse.c print.c purify.c \