You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/03/06 19:54:27 UTC

[GitHub] sterlinghughes opened a new issue #877: Test package lflags ignored by `newt test`

sterlinghughes opened a new issue #877: Test package lflags ignored by `newt test`
URL: https://github.com/apache/mynewt-core/issues/877
 
 
   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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services