turn _FORTIFY_SOURCE on for clang

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This define can work with clang, and now we are using clang in prod we should turn it on: https://github.com/10gen/mongo/blob/cc2b13e953091185e3f1161b30909422bf9c79c7/bazel/toolchains/cc/mongo_defines.bzl#L52-L58

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: