mozilla-fix-top-level-asm.patch
branchfirefox96
changeset 1170 f9b2d408b7ef
parent 1154 71a92b4d0527
child 1191 37e065158be7
equal deleted inserted replaced
1169:7481543bab31 1170:f9b2d408b7ef
    47 @@ -105,16 +105,19 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
    47 @@ -105,16 +105,19 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
    48          "-Wno-unreachable-code-return"
    48          "-Wno-unreachable-code-return"
    49      ]
    49      ]
    50  
    50  
    51  if CONFIG["CC_TYPE"] in ("clang", "gcc"):
    51  if CONFIG["CC_TYPE"] in ("clang", "gcc"):
    52      CXXFLAGS += ["-Wno-shadow", "-Wno-error=stack-protector"]
    52      CXXFLAGS += ["-Wno-error=stack-protector"]
    53      SOURCES["../chromium/sandbox/linux/services/syscall_wrappers.cc"].flags += [
    53      SOURCES["../chromium/sandbox/linux/services/syscall_wrappers.cc"].flags += [
    54          "-Wno-empty-body",
    54          "-Wno-empty-body",
    55      ]
    55      ]
    56 +    SOURCES['../chromium/sandbox/linux/seccomp-bpf/syscall.cc'].flags += [
    56 +    SOURCES['../chromium/sandbox/linux/seccomp-bpf/syscall.cc'].flags += [
    57 +        '-fno-lto'
    57 +        '-fno-lto'