Commit 26d43fa3 authored by Georg Koppen's avatar Georg Koppen
Browse files

Bug 29013: Enable stack protection for Firefox on Windows

parent 15738bd0
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -1676,8 +1676,6 @@ def security_hardening_cflags(hardening_flag, asan, optimize, c_compiler, target
        # Enable only if hardening is not disabled and ASAN is
        # not on as ASAN will catch the crashes for us
        if compiler_is_gccish and not asan:
            # mingw-clang cross-compile toolchain has bugs with stack protector
            if target.os != 'WINNT' or c_compiler == 'gcc':
            flags.append("-fstack-protector-strong")
            ldflags.append("-fstack-protector-strong")
            js_flags.append("-fstack-protector-strong")