[tor-commits] [tor-browser-build/maint-8.0] Bug 29081: Harden libwinpthread

gk at torproject.org gk at torproject.org
Wed Mar 13 12:49:20 UTC 2019


commit 2da5df458e3aa88a578210a1dc22a46387e39fba
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Jan 14 08:22:40 2019 +0000

    Bug 29081: Harden libwinpthread
---
 projects/mingw-w64/build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/mingw-w64/build b/projects/mingw-w64/build
index 1e25290..b2117c5 100644
--- a/projects/mingw-w64/build
+++ b/projects/mingw-w64/build
@@ -43,8 +43,8 @@ make install
 mkdir -p /var/tmp/build/builddir/mingw-w64/mingw-w64-pthread
 cd /var/tmp/build/builddir/mingw-w64/mingw-w64-pthread
 /var/tmp/build/[% project %]-[% c("version") %]/mingw-w64-libraries/winpthreads/configure \
-                 LDFLAGS="-Wl,--no-insert-timestamp" \
-                 --host=[% c("arch") %]-w64-mingw32 --prefix=$distdir/[% c("arch") %]-w64-mingw32
+  LDFLAGS="-Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -Wl,--no-insert-timestamp" \
+  --host=[% c("arch") %]-w64-mingw32 --prefix=$distdir/[% c("arch") %]-w64-mingw32
 make -j[% c("buildconf/num_procs") %]
 make install
 





More information about the tor-commits mailing list