Page MenuHomePhabricator

Fix build if GNUARM_PATH is explicitly set
Closed, ResolvedPublic

Description

If GNUARM_PATH is explicitly set the build doesn't work

Event Timeline

galak created this task.Apr 30 2019, 1:53 PM

I tested the behavior and found the following:

  • if GNUARM_PATH is set to point to the /bin directory of the GNUARM install tree, then the compiler is found ok. This behavior is not matching the documentation in FindGnuArm.cmake.
  • if GNUARM_PATH is set as mentioned above, but there is another version available on the PATH, then the one on the PATH gets used.

The pull request mentioned by Gala solves the above issues.

gyuri-szing closed this task as Resolved.May 3 2019, 11:57 AM

Fix was merged.