Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
Security Level: Public (Viewable by anyone)
Description
If you add the following to a test package:
pkg.lflags: - "-foo"
and then test the package with `newt test`, the flag does not get passed to gcc during linking.
Newt currently only reads lflags from the following package types:
- target
- app
- bsp
- compiler
At the very least, the test package's lflags should be used when a unit test is linked via newt test. Alternatively, it may make more sense to gather the lflags from all constituent packages during the link phase.
Attachments
Issue Links
- links to