You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2016/02/26 20:37:18 UTC

[jira] [Created] (MYNEWT-167) Newt sometimes performs unnecessary compiles due to inconsistently ordered cflags

Christopher Collins created MYNEWT-167:
------------------------------------------

             Summary: Newt sometimes performs unnecessary compiles due to inconsistently ordered cflags
                 Key: MYNEWT-167
                 URL: https://issues.apache.org/jira/browse/MYNEWT-167
             Project: Mynewt
          Issue Type: Bug
          Components: Newt
            Reporter: Christopher Collins
            Assignee: Christopher Collins


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)