summaryrefslogtreecommitdiff
path: root/user/wine/nopie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/wine/nopie.patch')
-rw-r--r--user/wine/nopie.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/wine/nopie.patch b/user/wine/nopie.patch
new file mode 100644
index 000000000..54eb141be
--- /dev/null
+++ b/user/wine/nopie.patch
@@ -0,0 +1,10 @@
+diff --git a/loader/Makefile.in b/loader/Makefile.in
+index 8190037..b4f2902 100644
+--- a/loader/Makefile.in
++++ b/loader/Makefile.in
+@@ -29,4 +29,4 @@ wine_preloader_OBJS = preloader.o
+ wine_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000
+
+ wine64_preloader_OBJS = preloader.o
+-wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000
++wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 -no-pie