Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-167

Newt sometimes performs unnecessary compiles due to inconsistent ordering of flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v0_8_0_beta2
    • Newt
    • Security Level: Public (Viewable by anyone)
    • None

    Description

      The cflags, lflags, and aflags that get passed to the compiler are not always consistently ordered between builds. If the compiler invocation is different from the previous one, newt forces a recompile. If the only thing that has changed is the order of the flags, then such a recompile is unnecessary.

      The fix is to sort the flags alphabetically.

      Attachments

        Activity

          People

            ccollins476 Christopher Collins
            ccollins476 Christopher Collins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: