Add a forgotten patch change

thanks aja@ for spotting it
sorry for the noise
This commit is contained in:
solene 2019-05-14 07:59:53 +00:00
parent cb15dfe28b
commit f755b1641c

View File

@ -1,23 +1,11 @@
$OpenBSD: patch-src_runtime_Config_generic-openbsd,v 1.3 2018/03/08 15:17:39 sthen Exp $
clang-5.0.0 doesn't pass -export-dynamic to the linker, instead it
passes a bogus -e export-dynamic to ld(1). Just use -Wl,--export-dynamic.
$OpenBSD: patch-src_runtime_Config_generic-openbsd,v 1.4 2019/05/14 07:59:53 solene Exp $
Don't try to guess (wrong) with clang. Just assume we have pie
Index: src/runtime/Config.generic-openbsd
--- src/runtime/Config.generic-openbsd.orig
+++ src/runtime/Config.generic-openbsd
@@ -9,7 +9,7 @@
# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
-LINKFLAGS += -export-dynamic -Wl,-z,wxneeded
+LINKFLAGS += -Wl,--export-dynamic -Wl,-z,wxneeded
OS_LIBS += -lutil
ifdef LISP_FEATURE_SB_THREAD
@@ -17,9 +17,7 @@ CFLAGS += -pthread
@@ -17,9 +17,7 @@ CFLAGS += -pthread -DOS_THREAD_STACK
OS_LIBS += -pthread
endif