commit cf8aaea952b4e83eead22b78a5221ff5783d8fab Author: Georg Koppen gk@torproject.org Date: Wed Oct 18 06:29:44 2017 +0000
squash! TB3: Tor Browser's official .mozconfigs.
Bug 23025: Add hardening flags for macOS --- .mozconfig-mac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.mozconfig-mac b/.mozconfig-mac index 844ee2e94fbc..4e4741243288 100644 --- a/.mozconfig-mac +++ b/.mozconfig-mac @@ -4,7 +4,8 @@ mk_add_options "export LD_LIBRARY_PATH=$topsrcdir/clang/lib" CROSS_CCTOOLS_PATH=$topsrcdir/cctools CROSS_SYSROOT=$topsrcdir/MacOSX10.7.sdk CROSS_PRIVATE_FRAMEWORKS=$CROSS_SYSROOT/System/Library/PrivateFrameworks -FLAGS="-target x86_64-apple-darwin10 -mlinker-version=136 -B $CROSS_CCTOOLS_PATH/bin -isysroot $CROSS_SYSROOT" +HARDENING_FLAGS="-Werror=format -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2" +FLAGS="-target x86_64-apple-darwin10 -mlinker-version=136 -B $CROSS_CCTOOLS_PATH/bin -isysroot $CROSS_SYSROOT $HARDENING_FLAGS"
export CC="$topsrcdir/clang/bin/clang $FLAGS" export CXX="$topsrcdir/clang/bin/clang++ $FLAGS"