You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lisp/sbcl/files/sbcl-1.3.14-config.patch

23 lines
775 B

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 \