[tbb-commits] [tor-browser-build/master] Bug 29081: Harden libwinpthread

boklm at torproject.org boklm at torproject.org
Wed Jan 16 12:07:43 UTC 2019


commit 358b3b15be6c35810b166625c9331d6ef5071bee
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 tbb-commits mailing list