Ticket #20439: tor-browser-0001-Bug-20439-make-the-build-PIE-on-OSX.patch

File tor-browser-0001-Bug-20439-make-the-build-PIE-on-OSX.patch, 971 bytes (added by boklm, 3 years ago)
  • .mozconfig-mac

    From 76ee52d90d6f206230b17e5b429fc6e00be1429d Mon Sep 17 00:00:00 2001
    From: Nicolas Vigier <boklm@mars-attacks.org>
    Date: Tue, 8 Nov 2016 17:20:36 +0100
    Subject: [PATCH] Bug 20439: make the build PIE on OSX
    
    ---
     .mozconfig-mac | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/.mozconfig-mac b/.mozconfig-mac
    index 96f036ab2aa8..cda309a29b4c 100644
    a b export CC="$topsrcdir/clang/bin/clang $FLAGS" 
    1010export CXX="$topsrcdir/clang/bin/clang++ $FLAGS"
    1111export CPP="$topsrcdir/clang/bin/clang $FLAGS -E"
    1212export LLVMCONFIG=$topsrcdir/clang/bin/llvm-config
    13 export LDFLAGS="-Wl,-syslibroot,$CROSS_SYSROOT -Wl,-dead_strip"
     13export LDFLAGS="-Wl,-syslibroot,$CROSS_SYSROOT -Wl,-dead_strip -Wl,-pie"
    1414export TOOLCHAIN_PREFIX=$CROSS_CCTOOLS_PATH/bin/x86_64-apple-darwin10-
    1515#TODO: bug 1184202 - would be nice if these could be detected with TOOLCHAIN_PREFIX automatically
    1616export AR=${TOOLCHAIN_PREFIX}ar