Teach our SCons implementation to reiterate CFLAGS on the link line

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Server Development Platform
    • Fully Compatible
    • Dev Platform 2021-02-22, Dev Platform 2021-03-08, Dev Platform 2021-03-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are lots of places where we add flags to both the C[{C,XX}]FLAGS and [SH]LINKFLAGS, because these flags need to be present for both tasks. Generally, we do this on platforms that use clang/gcc, since there we invoke the compiler to drive the link. So flags that affect both compile and link should appear in both. It would be easier if we just always included C[{C,XX}]FLAGS on the link line, and then we wouldn't need to add the flags in two places.

            Assignee:
            [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: