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.1.17-gentoo-fix_nopi...

23 lines
1.0 KiB

--- sbcl-1.1.17-orig/src/runtime/Config.x86-linux 2014-03-31 03:14:22.000000000 +1100
+++ sbcl-1.1.17/src/runtime/Config.x86-linux 2014-04-28 15:34:59.822482441 +1000
@@ -27,7 +27,7 @@
# (You *are* encouraged to design and implement a coherent stable
# interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
# working on one and it would be a nice thing to have.)
-LINKFLAGS += -Wl,--export-dynamic -m32
+LINKFLAGS += -Wl,--export-dynamic -m32 -nopie
OS_LIBS = -ldl
ifdef LISP_FEATURE_LARGEFILE
--- sbcl-1.1.17-orig/src/runtime/Config.x86-64-linux 2014-03-31 03:14:22.000000000 +1100
+++ sbcl-1.1.17/src/runtime/Config.x86-64-linux 2014-04-28 15:35:22.364623003 +1000
@@ -27,7 +27,7 @@
# (You *are* encouraged to design and implement a coherent stable
# interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
# working on one and it would be a nice thing to have.)
-LINKFLAGS += -Wl,--export-dynamic
+LINKFLAGS += -Wl,--export-dynamic -nopie
OS_LIBS = -ldl
ifdef LISP_FEATURE_LARGEFILE